protected function MergeablePluginDefinitionTrait::doMergeDefaultDefinition in Plugin 8.2
Merges another definition into this one, using the other for defaults.
Parameters
static $other_definition: The other definition to merge into $this. It will not override $this, but be used to extract default values from instead.
1 call to MergeablePluginDefinitionTrait::doMergeDefaultDefinition()
1 method overrides MergeablePluginDefinitionTrait::doMergeDefaultDefinition()
- ArrayPluginDefinitionDecorator::doMergeDefaultDefinition in src/
PluginDefinition/ ArrayPluginDefinitionDecorator.php - Merges another definition into this one, using the other for defaults.
File
- src/
PluginDefinition/ MergeablePluginDefinitionTrait.php, line 29
Class
- MergeablePluginDefinitionTrait
- Implements the plugin merger parts of \Drupal\plugin\PluginDefinition\PluginDefinitionInterface.
Namespace
Drupal\plugin\PluginDefinitionCode
protected function doMergeDefaultDefinition(PluginDefinitionInterface $other_definition) {
// Child classes can override this to perform an actual merge.
}