interface SensorExtendedInfoInterface in Monitoring 7
Interface for a sensor with extended info.
Implemented by sensors with verbose information.
Hierarchy
- interface \Drupal\monitoring\Sensor\SensorExtendedInfoInterface
Expanded class hierarchy of SensorExtendedInfoInterface
All classes that implement SensorExtendedInfoInterface
3 files declare their use of SensorExtendedInfoInterface
- SensorDatabaseAggregator.php in lib/
Drupal/ monitoring/ Sensor/ Sensors/ SensorDatabaseAggregator.php - Contains \Drupal\monitoring\Sensor\Sensors\SensorDatabaseAggregator.
- SensorGitDirtyTree.php in lib/
Drupal/ monitoring/ Sensor/ Sensors/ SensorGitDirtyTree.php - Contains \Drupal\monitoring\Sensor\Sensors\SensorGitDirtyTree.
- TestSensor.php in test/
lib/ Drupal/ monitoring_test/ Sensor/ Sensors/ TestSensor.php - Contains \Drupal\monitoring_test\Sensor\Sensors\TestSensor.
File
- lib/
Drupal/ monitoring/ Sensor/ SensorExtendedInfoInterface.php, line 16 - Sensor Extended Info interface.
Namespace
Drupal\monitoring\SensorView source
interface SensorExtendedInfoInterface {
/**
* Provide additional info about sensor call.
*
* @param SensorResultInterface $result
* Sensor result.
*
* @return string
* Sensor call verbose info.
*/
function resultVerbose(SensorResultInterface $result);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SensorExtendedInfoInterface:: |
function | Provide additional info about sensor call. | 3 |