NextDom\Managers\ConfigManager::byKey
Get configuration by key
Signature
public function byKey(string
$configKey,
[string
$pluginId = 'core',
[string
$defaultValue = '',
[boolean
$forceRefresh = false]]] )
Parameters
$configKey
— string- nom de la clé dont on veut la valeur
$pluginId
— string- Plugin id or core
$defaultValue
— string- Default value if config key is not found
$forceRefresh
— boolean- Force to refresh the value in the cache
Returns
- mixed
- Key value