public function SensorInfo::getResultClass in Monitoring 7
Gets sensor result class.
Return value
string Result class.
File
- lib/
Drupal/ monitoring/ Sensor/ SensorInfo.php, line 97 - Contains \Drupal\monitoring\Sensor\SensorInfo.
Class
- SensorInfo
- Represents a sensor info as defined in hook_monitoring_sensor_info().
Namespace
Drupal\monitoring\SensorCode
public function getResultClass() {
return $this->sensorInfo['result_class'];
}