public static function PluginDefinitionDecoratorInterface::createFromDecoratedDefinition in Plugin 8.2
Creates a new plugin definition that decorates another definition.
Parameters
mixed $decorated_plugin_definition: The plugin definition to decorate. The supported types depend on the implementations of this method.
Return value
static
1 method overrides PluginDefinitionDecoratorInterface::createFromDecoratedDefinition()
- ArrayPluginDefinitionDecorator::createFromDecoratedDefinition in src/
PluginDefinition/ ArrayPluginDefinitionDecorator.php - Creates a new plugin definition that decorates another definition.
File
- src/
PluginDefinition/ PluginDefinitionDecoratorInterface.php, line 26
Class
- PluginDefinitionDecoratorInterface
- Defines a plugin definition decorator.
Namespace
Drupal\plugin\PluginDefinitionCode
public static function createFromDecoratedDefinition($decorated_plugin_definition);