You are here

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\drupalmonitor

Code

public function isServerMonitoringEnabled() {
  return $this->settings
    ->get(static::CONFIG_KEY_SERVER_MONITORING);
}