You are here

public function Settings::isUserMonitoringEnabled in Drupalmonitor 8

Check whether User Monitoring is enabled.

Return value

bool TRUE if enabled, otherwise FALSE.

File

src/Settings.php, line 105

Class

Settings
Class Settings.

Namespace

Drupal\drupalmonitor

Code

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