You are here

public function DeriverBase::getDerivativeDefinitions in Zircon Profile 8

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

10 calls to DeriverBase::getDerivativeDefinitions()
BlockContent::getDerivativeDefinitions in core/modules/block_content/src/Plugin/Derivative/BlockContent.php
Gets the definition of all derivatives of a base plugin.
ConfigTranslationContextualLinks::getDerivativeDefinitions in core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php
Gets the definition of all derivatives of a base plugin.
ConfigTranslationLocalTasks::getDerivativeDefinitions in core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationLocalTasks.php
Gets the definition of all derivatives of a base plugin.
ContentTranslationContextualLinks::getDerivativeDefinitions in core/modules/content_translation/src/Plugin/Derivative/ContentTranslationContextualLinks.php
Gets the definition of all derivatives of a base plugin.
ContentTranslationLocalTasks::getDerivativeDefinitions in core/modules/content_translation/src/Plugin/Derivative/ContentTranslationLocalTasks.php
Gets the definition of all derivatives of a base plugin.

... See full list

24 methods override DeriverBase::getDerivativeDefinitions()
BlockContent::getDerivativeDefinitions in core/modules/block_content/src/Plugin/Derivative/BlockContent.php
Gets the definition of all derivatives of a base plugin.
ConfigTranslationContextualLinks::getDerivativeDefinitions in core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationContextualLinks.php
Gets the definition of all derivatives of a base plugin.
ConfigTranslationLocalTasks::getDerivativeDefinitions in core/modules/config_translation/src/Plugin/Derivative/ConfigTranslationLocalTasks.php
Gets the definition of all derivatives of a base plugin.
ContentTranslationContextualLinks::getDerivativeDefinitions in core/modules/content_translation/src/Plugin/Derivative/ContentTranslationContextualLinks.php
Gets the definition of all derivatives of a base plugin.
ContentTranslationLocalTasks::getDerivativeDefinitions in core/modules/content_translation/src/Plugin/Derivative/ContentTranslationLocalTasks.php
Gets the definition of all derivatives of a base plugin.

... See full list

File

core/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;
}