public function DeriverBase::getDerivativeDefinitions in Plug 7
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\DerivativeCode
public function getDerivativeDefinitions($base_plugin_definition) {
return $this->derivatives;
}