function DerivativeInspectionInterface::getDerivativeId

Same name in other branches
  1. 9 core/lib/Drupal/Component/Plugin/DerivativeInspectionInterface.php \Drupal\Component\Plugin\DerivativeInspectionInterface::getDerivativeId()
  2. 8.9.x core/lib/Drupal/Component/Plugin/DerivativeInspectionInterface.php \Drupal\Component\Plugin\DerivativeInspectionInterface::getDerivativeId()
  3. 10 core/lib/Drupal/Component/Plugin/DerivativeInspectionInterface.php \Drupal\Component\Plugin\DerivativeInspectionInterface::getDerivativeId()

Gets the derivative_id of the plugin instance.

Return value

string|null The derivative_id of the plugin instance NULL otherwise.

10 calls to DerivativeInspectionInterface::getDerivativeId()
BlockContentBlock::build in core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
BlockContentBlock::getEntity in core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
Loads the block content entity of the block.
InlineBlock::getEntity in core/modules/layout_builder/src/Plugin/Block/InlineBlock.php
Loads or creates the block content entity of the block.
LanguageBlock::build in core/modules/language/src/Plugin/Block/LanguageBlock.php
MenuLinkContent::getUuid in core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php
Returns the unique ID representing the menu link.

... See full list

1 method overrides DerivativeInspectionInterface::getDerivativeId()
PluginBase::getDerivativeId in core/lib/Drupal/Component/Plugin/PluginBase.php
Gets the derivative_id of the plugin instance.

File

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

Class

DerivativeInspectionInterface
Provides a plugin interface for providing derivative metadata inspection.

Namespace

Drupal\Component\Plugin

Code

public function getDerivativeId();

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