public function SensorInfo::getSensorClass in Monitoring 7
Gets sensor class.
Return value
string Sensor class
3 calls to SensorInfo::getSensorClass()
- SensorInfo::isConfigurable in lib/
Drupal/ monitoring/ Sensor/ SensorInfo.php - Checks if sensor is configurable.
- SensorInfo::isDefiningThresholds in lib/
Drupal/ monitoring/ Sensor/ SensorInfo.php - Checks if sensor defines thresholds.
- SensorInfo::isExtendedInfo in lib/
Drupal/ monitoring/ Sensor/ SensorInfo.php - Checks if sensor provides extended info.
File
- lib/
Drupal/ monitoring/ Sensor/ SensorInfo.php, line 87 - Contains \Drupal\monitoring\Sensor\SensorInfo.
Class
- SensorInfo
- Represents a sensor info as defined in hook_monitoring_sensor_info().
Namespace
Drupal\monitoring\SensorCode
public function getSensorClass() {
return $this->sensorInfo['sensor_class'];
}