interface DependentPluginDefinitionInterface
Provides an interface for a plugin definition that has dependencies.
Hierarchy
- interface \Drupal\Core\Plugin\Definition\DependentPluginDefinitionInterface
Expanded class hierarchy of DependentPluginDefinitionInterface
All classes that implement DependentPluginDefinitionInterface
2 files declare their use of DependentPluginDefinitionInterface
- LayoutDefinition.php in core/
lib/ Drupal/ Core/ Layout/ LayoutDefinition.php - PluginDependencyTrait.php in core/
lib/ Drupal/ Core/ Plugin/ PluginDependencyTrait.php
File
-
core/
lib/ Drupal/ Core/ Plugin/ Definition/ DependentPluginDefinitionInterface.php, line 8
Namespace
Drupal\Core\Plugin\DefinitionView source
interface DependentPluginDefinitionInterface {
/**
* Gets the config dependencies of this plugin definition.
*
* @return array
* An array of config dependencies.
*
* @see \Drupal\Core\Plugin\PluginDependencyTrait::calculatePluginDependencies()
*/
public function getConfigDependencies();
/**
* Sets the config dependencies of this plugin definition.
*
* @param array $config_dependencies
* An array of config dependencies.
*
* @return $this
*/
public function setConfigDependencies(array $config_dependencies);
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
DependentPluginDefinitionInterface::getConfigDependencies | public | function | Gets the config dependencies of this plugin definition. |
DependentPluginDefinitionInterface::setConfigDependencies | public | function | Sets the config dependencies of this plugin definition. |