You are here

interface DrupalDataCollectorInterface in Devel 8.3

Same name and namespace in other branches
  1. 8 webprofiler/src/DrupalDataCollectorInterface.php \Drupal\webprofiler\DrupalDataCollectorInterface
  2. 8.2 webprofiler/src/DrupalDataCollectorInterface.php \Drupal\webprofiler\DrupalDataCollectorInterface
  3. 4.x webprofiler/src/DrupalDataCollectorInterface.php \Drupal\webprofiler\DrupalDataCollectorInterface

Interface DrupalDataCollectorInterface.

Hierarchy

Expanded class hierarchy of DrupalDataCollectorInterface

All classes that implement DrupalDataCollectorInterface

23 files declare their use of DrupalDataCollectorInterface
AssetsDataCollector.php in webprofiler/src/DataCollector/AssetsDataCollector.php
BlocksDataCollector.php in webprofiler/src/DataCollector/BlocksDataCollector.php
CacheDataCollector.php in webprofiler/src/DataCollector/CacheDataCollector.php
ConfigDataCollector.php in webprofiler/src/DataCollector/ConfigDataCollector.php
DatabaseDataCollector.php in webprofiler/src/DataCollector/DatabaseDataCollector.php

... See full list

File

webprofiler/src/DrupalDataCollectorInterface.php, line 8

Namespace

Drupal\webprofiler
View source
interface DrupalDataCollectorInterface {

  /**
   * Returns the datacollector title.
   *
   * @return string
   *   The datacollector title.
   */
  public function getTitle();

  /**
   * Returns the name of the collector.
   *
   * @return string
   *   The collector name.
   */
  public function getName();

  /**
   * Returns the string used in vertical tab summary.
   *
   * @return string
   *   The panel summary.
   */
  public function getPanelSummary();

  /**
   * Returns the collector icon in base64 format.
   *
   * @return string
   *   The collector icon.
   */
  public function getIcon();

  /**
   * Returns true if this datacollector has a detail panel.
   *
   * @return bool
   *   True if datacollector has a detail panel, false otherwise.
   */
  public function hasPanel();

  /**
   * Returns the libraries needed in detail panel.
   *
   * @return array
   *   The render array for detail panel.
   */
  public function getLibraries();

  /**
   * @return array
   */
  public function getDrupalSettings();

  /**
   * @return mixed
   */
  public function getData();

}

Members

Namesort descending Modifiers Type Description Overrides
DrupalDataCollectorInterface::getData public function 8
DrupalDataCollectorInterface::getDrupalSettings public function 1
DrupalDataCollectorInterface::getIcon public function Returns the collector icon in base64 format. 23
DrupalDataCollectorInterface::getLibraries public function Returns the libraries needed in detail panel. 2
DrupalDataCollectorInterface::getName public function Returns the name of the collector. 21
DrupalDataCollectorInterface::getPanelSummary public function Returns the string used in vertical tab summary. 21
DrupalDataCollectorInterface::getTitle public function Returns the datacollector title. 23
DrupalDataCollectorInterface::hasPanel public function Returns true if this datacollector has a detail panel. 2