You are here

interface ExtendedInfoSensorPluginInterface in Monitoring 8

Interface for a sensor with extended info.

Implemented by sensors with verbose information.

Hierarchy

Expanded class hierarchy of ExtendedInfoSensorPluginInterface

All classes that implement ExtendedInfoSensorPluginInterface

13 files declare their use of ExtendedInfoSensorPluginInterface
ContentEntityAggregatorSensorPlugin.php in src/Plugin/monitoring/SensorPlugin/ContentEntityAggregatorSensorPlugin.php
Contains \Drupal\monitoring\Plugin\monitoring\SensorPlugin\ContentEntityAggregatorSensorPlugin.
CoreRequirementsSensorPlugin.php in src/Plugin/monitoring/SensorPlugin/CoreRequirementsSensorPlugin.php
Contains \Drupal\monitoring\Plugin\monitoring\SensorPlugin\CoreRequirementsSensorPlugin.
DatabaseAggregatorSensorPlugin.php in src/Plugin/monitoring/SensorPlugin/DatabaseAggregatorSensorPlugin.php
Contains \Drupal\monitoring\Plugin\monitoring\SensorPlugin\DatabaseAggregatorSensorPlugin.
DatabaseDiskUsagePlugin.php in src/Plugin/monitoring/SensorPlugin/DatabaseDiskUsagePlugin.php
GitDirtyTreeSensorPlugin.php in src/Plugin/monitoring/SensorPlugin/GitDirtyTreeSensorPlugin.php
Contains \Drupal\monitoring\Plugin\monitoring\SensorPlugin\GitDirtyTreeSensorPlugin.

... See full list

File

src/SensorPlugin/ExtendedInfoSensorPluginInterface.php, line 16
Contains \Drupal\monitoring\SensorPlugin\ExtendedInfoSensorPluginInterface.

Namespace

Drupal\monitoring\SensorPlugin
View source
interface ExtendedInfoSensorPluginInterface {

  /**
   * Provide additional info about sensor call.
   *
   * This method is only executed on request. It is guaranteed that runSensor()
   * is executed before this method.
   *
   * @param \Drupal\monitoring\Result\SensorResultInterface $result
   *   Sensor result.
   *
   * @return array
   *   Sensor call verbose info as render array.
   */
  function resultVerbose(SensorResultInterface $result);

}

Members

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