You are here

SensorExtendedInfoInterface.php in Monitoring 7

Sensor Extended Info interface.

File

lib/Drupal/monitoring/Sensor/SensorExtendedInfoInterface.php
View source
<?php

/**
 * @file
 * Sensor Extended Info interface.
 */
namespace Drupal\monitoring\Sensor;

use Drupal\monitoring\Result\SensorResultInterface;

/**
 * Interface for a sensor with extended info.
 *
 * Implemented by sensors with verbose information.
 */
interface SensorExtendedInfoInterface {

  /**
   * Provide additional info about sensor call.
   *
   * @param SensorResultInterface $result
   *   Sensor result.
   *
   * @return string
   *   Sensor call verbose info.
   */
  function resultVerbose(SensorResultInterface $result);

}

Interfaces

Namesort descending Description
SensorExtendedInfoInterface Interface for a sensor with extended info.