public function Settings::isServerMonitoringEnabled in Drupalmonitor 8
Check whether Server Monitoring is enabled.
Return value
bool TRUE if enabled, otherwise FALSE.
File
- src/
Settings.php, line 95
Class
- Settings
- Class Settings.
Namespace
Drupal\drupalmonitorCode
public function isServerMonitoringEnabled() {
return $this->settings
->get(static::CONFIG_KEY_SERVER_MONITORING);
}