public function DeriverBase::getDerivativeDefinitions in Drupal 8
Same name and namespace in other branches
- 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()
14 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.
- ContentEntityDeriver::getDerivativeDefinitions in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ ContentEntityDeriver.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.
39 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.
- ContentEntityDeriver::getDerivativeDefinitions in core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ ContentEntityDeriver.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.
File
- core/
lib/ Drupal/ Component/ Plugin/ Derivative/ DeriverBase.php, line 31
Class
- DeriverBase
- Provides a basic deriver.
Namespace
Drupal\Component\Plugin\DerivativeCode
public function getDerivativeDefinitions($base_plugin_definition) {
return $this->derivatives;
}