You are here

protected function MergeablePluginDefinitionTrait::doMergeOverrideDefinition in Plugin 8.2

Merges another definition into this one, using the other for overrides.

Parameters

static $other_definition: The other definition to merge into $this. It will override any values already set in $this.

1 call to MergeablePluginDefinitionTrait::doMergeOverrideDefinition()
MergeablePluginDefinitionTrait::mergeOverrideDefinition in src/PluginDefinition/MergeablePluginDefinitionTrait.php
Implements \Drupal\plugin\PluginDefinition\PluginDefinitionInterface::mergeOverrideDefinition().
1 method overrides MergeablePluginDefinitionTrait::doMergeOverrideDefinition()
ArrayPluginDefinitionDecorator::doMergeOverrideDefinition in src/PluginDefinition/ArrayPluginDefinitionDecorator.php
Merges another definition into this one, using the other for overrides.

File

src/PluginDefinition/MergeablePluginDefinitionTrait.php, line 50

Class

MergeablePluginDefinitionTrait
Implements the plugin merger parts of \Drupal\plugin\PluginDefinition\PluginDefinitionInterface.

Namespace

Drupal\plugin\PluginDefinition

Code

protected function doMergeOverrideDefinition(PluginDefinitionInterface $other_definition) {

  // Child classes can override this to perform an actual merge.
}