abstract protected function MergeablePluginDefinitionTrait::isDefinitionCompatible in Plugin 8.2
Returns whether another definition is compatible with this one.
Return value
bool Whether or not the definition is compatible with $this.
1 call to MergeablePluginDefinitionTrait::isDefinitionCompatible()
- MergeablePluginDefinitionTrait::validateMergeDefinition in src/
PluginDefinition/ MergeablePluginDefinitionTrait.php - Validates whether another definition is compatible with this one.
1 method overrides MergeablePluginDefinitionTrait::isDefinitionCompatible()
- ArrayPluginDefinitionDecorator::isDefinitionCompatible in src/
PluginDefinition/ ArrayPluginDefinitionDecorator.php - Returns whether another definition is compatible with this one.
File
- src/
PluginDefinition/ MergeablePluginDefinitionTrait.php, line 71
Class
- MergeablePluginDefinitionTrait
- Implements the plugin merger parts of \Drupal\plugin\PluginDefinition\PluginDefinitionInterface.
Namespace
Drupal\plugin\PluginDefinitionCode
protected abstract function isDefinitionCompatible(PluginDefinitionInterface $other_definition);