public function SensorInfo::isExtendedInfo in Monitoring 7
Checks if sensor provides extended info.
Return value
bool
File
- lib/
Drupal/ monitoring/ Sensor/ SensorInfo.php, line 257 - Contains \Drupal\monitoring\Sensor\SensorInfo.
Class
- SensorInfo
- Represents a sensor info as defined in hook_monitoring_sensor_info().
Namespace
Drupal\monitoring\SensorCode
public function isExtendedInfo() {
return in_array('Drupal\\monitoring\\Sensor\\SensorExtendedInfoInterface', class_implements($this
->getSensorClass()));
}