You are here

interface SensorExtendedInfoInterface in Monitoring 7

Interface for a sensor with extended info.

Implemented by sensors with verbose information.

Hierarchy

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\Sensor
View 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

Namesort descending Modifiers Type Description Overrides
SensorExtendedInfoInterface::resultVerbose function Provide additional info about sensor call. 3