function DeriverInterface::getDerivativeDefinitions

Same name and namespace in other branches
  1. 11.x 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()

1 method overrides DeriverInterface::getDerivativeDefinitions()
TestDerivativeDiscovery::getDerivativeDefinitions in core/tests/Drupal/Tests/Core/Plugin/Discovery/TestDerivativeDiscovery.php
Gets the definition of all derivatives of a base plugin.

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);

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