You are here

interface DerivativeInspectionInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Component/Plugin/DerivativeInspectionInterface.php \Drupal\Component\Plugin\DerivativeInspectionInterface

Provides a plugin interface for providing derivative metadata inspection.

Hierarchy

Expanded class hierarchy of DerivativeInspectionInterface

All classes that implement DerivativeInspectionInterface

3 files declare their use of DerivativeInspectionInterface
BlockPluginInterface.php in core/lib/Drupal/Core/Block/BlockPluginInterface.php
Contains \Drupal\Core\Block\BlockPluginInterface.
MenuLinkInterface.php in core/lib/Drupal/Core/Menu/MenuLinkInterface.php
Contains \Drupal\Core\Menu\MenuLinkInterface.
ViewsPluginInterface.php in core/modules/views/src/Plugin/views/ViewsPluginInterface.php
Contains \Drupal\views\Plugin\views\ViewsPluginInterface.

File

core/lib/Drupal/Component/Plugin/DerivativeInspectionInterface.php, line 13
Contains \Drupal\Component\Plugin\DerivativeInspectionInterface.

Namespace

Drupal\Component\Plugin
View source
interface DerivativeInspectionInterface {

  /**
   * Gets the base_plugin_id of the plugin instance.
   *
   * @return string
   *   The base_plugin_id of the plugin instance.
   */
  public function getBaseId();

  /**
   * Gets the derivative_id of the plugin instance.
   *
   * @return string|null
   *   The derivative_id of the plugin instance NULL otherwise.
   */
  public function getDerivativeId();

}

Members

Namesort descending Modifiers Type Description Overrides
DerivativeInspectionInterface::getBaseId public function Gets the base_plugin_id of the plugin instance. 1
DerivativeInspectionInterface::getDerivativeId public function Gets the derivative_id of the plugin instance. 1