public function SensorConfigInterface::getSetting in Monitoring 8
Gets the setting of a key.
Parameters
string $key: Setting key.
mixed $default: Default value if the setting does not exist.
Return value
mixed Setting value.
1 method overrides SensorConfigInterface::getSetting()
- SensorConfig::getSetting in src/
Entity/ SensorConfig.php - Gets the setting of a key.
File
- src/
SensorConfigInterface.php, line 163 - Contains \Drupal\monitoring\SensorConfigInterface.
Class
Namespace
Drupal\monitoringCode
public function getSetting($key, $default = NULL);