You are here

interface ProdCheckProcessorInterface in Production check & Production monitor 8

Defines an interface for prod check processors

Hierarchy

Expanded class hierarchy of ProdCheckProcessorInterface

All classes that implement ProdCheckProcessorInterface

1 file declares its use of ProdCheckProcessorInterface
ProdCheckProcessorBase.php in src/Plugin/ProdCheckProcessor/ProdCheckProcessorBase.php

File

src/Plugin/ProdCheckProcessorInterface.php, line 8

Namespace

Drupal\prod_check\Plugin
View source
interface ProdCheckProcessorInterface {

  /**
   * Processes a single prod check plugin
   *
   * @param \Drupal\prod_check\Plugin\ProdCheckInterface $plugin
   */
  public function process(ProdCheckInterface $plugin);

  /**
   * Returns the info key
   *
   * @return
   *   The info key
   */
  public function info();

  /**
   * Returns the ok key
   *
   * @return
   *   The ok key
   */
  public function ok();

  /**
   * Returns the warning key
   *
   * @return
   *   The warning key
   */
  public function warning();

  /**
   * Returns the error key
   *
   * @return
   *   The error key
   */
  public function error();

}

Members

Namesort descending Modifiers Type Description Overrides
ProdCheckProcessorInterface::error public function Returns the error key 1
ProdCheckProcessorInterface::info public function Returns the info key 1
ProdCheckProcessorInterface::ok public function Returns the ok key 1
ProdCheckProcessorInterface::process public function Processes a single prod check plugin 1
ProdCheckProcessorInterface::warning public function Returns the warning key 1