You are here

public function DeriverBase::getDerivativeDefinitions in Service Container 7

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

1 call to DeriverBase::getDerivativeDefinitions()
DeriverBase::getDerivativeDefinition in lib/Drupal/Component/Plugin/Derivative/DeriverBase.php
Gets the definition of a derivative plugin.

File

lib/Drupal/Component/Plugin/Derivative/DeriverBase.php, line 36
Contains \Drupal\Component\Plugin\Derivative\DeriverBase.

Class

DeriverBase
Provides a basic deriver.

Namespace

Drupal\Component\Plugin\Derivative

Code

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