public function SensorInfo::getDescription in Monitoring 7
Gets sensor description.
Return value
string Sensor description.
1 call to SensorInfo::getDescription()
- SensorInfo::toArray in lib/
Drupal/ monitoring/ Sensor/ SensorInfo.php - Compiles sensor info values to an associative array.
File
- lib/
Drupal/ monitoring/ Sensor/ SensorInfo.php, line 77 - Contains \Drupal\monitoring\Sensor\SensorInfo.
Class
- SensorInfo
- Represents a sensor info as defined in hook_monitoring_sensor_info().
Namespace
Drupal\monitoring\SensorCode
public function getDescription() {
return $this->sensorInfo['description'];
}