interface DerivativeInspectionInterface

Same name in other branches
  1. 9 core/lib/Drupal/Component/Plugin/DerivativeInspectionInterface.php \Drupal\Component\Plugin\DerivativeInspectionInterface
  2. 8.9.x core/lib/Drupal/Component/Plugin/DerivativeInspectionInterface.php \Drupal\Component\Plugin\DerivativeInspectionInterface
  3. 11.x 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

11 files declare their use of DerivativeInspectionInterface
BlockPluginInterface.php in core/lib/Drupal/Core/Block/BlockPluginInterface.php
HelpTopicPluginInterface.php in core/modules/help/src/HelpTopicPluginInterface.php
LayoutBuilderEntityViewDisplay.php in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
LayoutEntityHelperTrait.php in core/modules/layout_builder/src/LayoutEntityHelperTrait.php
LayoutEntityHelperTraitTest.php in core/modules/layout_builder/tests/src/Unit/LayoutEntityHelperTraitTest.php

... See full list

File

core/lib/Drupal/Component/Plugin/DerivativeInspectionInterface.php, line 8

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

Title Sort descending Modifiers Object type Summary 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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.