You are here

public function SensorInfo::getSettings in Monitoring 7

Returns all settings.

Return value

array Settings as an array.

File

lib/Drupal/monitoring/Sensor/SensorInfo.php, line 204
Contains \Drupal\monitoring\Sensor\SensorInfo.

Class

SensorInfo
Represents a sensor info as defined in hook_monitoring_sensor_info().

Namespace

Drupal\monitoring\Sensor

Code

public function getSettings() {
  return $this->sensorInfo['settings'];
}