You are here

public function DeriverBase::getDerivativeDefinitions in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Plugin/Derivative/DeriverBase.php \Drupal\Component\Plugin\Derivative\DeriverBase::getDerivativeDefinitions()
  2. 9 core/lib/Drupal/Component/Plugin/Derivative/DeriverBase.php \Drupal\Component\Plugin\Derivative\DeriverBase::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.

Overrides DeriverInterface::getDerivativeDefinitions

See also

getDerivativeDefinition()

3 calls to DeriverBase::getDerivativeDefinitions()
ContentEntityDeriver::getDerivativeDefinitions in core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntityDeriver.php
Gets the definition of all derivatives of a base plugin.
DeriverBase::getDerivativeDefinition in core/lib/Drupal/Component/Plugin/Derivative/DeriverBase.php
Gets the definition of a derivative plugin.
EntityActionDeriverBase::getDerivativeDefinitions in core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php
Gets the definition of all derivatives of a base plugin.
5 methods override DeriverBase::getDerivativeDefinitions()
ContentEntityDeriver::getDerivativeDefinitions in core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntityDeriver.php
Gets the definition of all derivatives of a base plugin.
EntityActionDeriverBase::getDerivativeDefinitions in core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityActionDeriverBase.php
Gets the definition of all derivatives of a base plugin.
EntityBundle::getDerivativeDefinitions in core/lib/Drupal/Core/Entity/Plugin/Condition/Deriver/EntityBundle.php
Gets the definition of all derivatives of a base plugin.
LayoutDeriver::getDerivativeDefinitions in core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php
Gets the definition of all derivatives of a base plugin.
OEmbedDeriver::getDerivativeDefinitions in core/modules/media/src/Plugin/media/Source/OEmbedDeriver.php
Gets the definition of all derivatives of a base plugin.

File

core/lib/Drupal/Component/Plugin/Derivative/DeriverBase.php, line 31

Class

DeriverBase
Provides a basic deriver.

Namespace

Drupal\Component\Plugin\Derivative

Code

public function getDerivativeDefinitions($base_plugin_definition) {
  return $this->derivatives;
}