DependentPluginDefinitionInterface.php in Drupal 10
Same filename and directory in other branches
Namespace
Drupal\Core\Plugin\DefinitionFile
core/lib/Drupal/Core/Plugin/Definition/DependentPluginDefinitionInterface.phpView source
<?php
namespace Drupal\Core\Plugin\Definition;
/**
* Provides an interface for a plugin definition that has dependencies.
*/
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);
}
Interfaces
Name | Description |
---|---|
DependentPluginDefinitionInterface | Provides an interface for a plugin definition that has dependencies. |