You are here

public function DeriverInterface::getDerivativeDefinitions in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Plugin/Derivative/DeriverInterface.php \Drupal\Component\Plugin\Derivative\DeriverInterface::getDerivativeDefinitions()
  2. 9 core/lib/Drupal/Component/Plugin/Derivative/DeriverInterface.php \Drupal\Component\Plugin\Derivative\DeriverInterface::getDerivativeDefinitions()

Gets the definition of all derivatives of a base plugin.

Parameters

array $base_plugin_definition: The definition array of the base plugin.

Return value

array An array of full derivative definitions keyed on derivative id.

See also

getDerivativeDefinition()

6 methods override DeriverInterface::getDerivativeDefinitions()
DeriverBase::getDerivativeDefinitions in core/lib/Drupal/Component/Plugin/Derivative/DeriverBase.php
Gets the definition of all derivatives of a base plugin.
EntityDeriver::getDerivativeDefinitions in core/lib/Drupal/Core/Entity/Plugin/DataType/Deriver/EntityDeriver.php
Gets the definition of all derivatives of a base plugin.
FieldItemDeriver::getDerivativeDefinitions in core/lib/Drupal/Core/Field/Plugin/DataType/Deriver/FieldItemDeriver.php
Gets the definition of all derivatives of a base plugin.
MockLayoutBlockDeriver::getDerivativeDefinitions in core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php
Gets the definition of all derivatives of a base plugin.
MockMenuBlockDeriver::getDerivativeDefinitions in core/modules/system/tests/modules/plugin_test/src/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php
Gets the definition of all derivatives of a base plugin.

... See full list

File

core/lib/Drupal/Component/Plugin/Derivative/DeriverInterface.php, line 41

Class

DeriverInterface
Provides additional plugin definitions based on an existing definition.

Namespace

Drupal\Component\Plugin\Derivative

Code

public function getDerivativeDefinitions($base_plugin_definition);