You are here

public function DependentPluginDefinitionTrait::setConfigDependencies in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Plugin/Definition/DependentPluginDefinitionTrait.php \Drupal\Core\Plugin\Definition\DependentPluginDefinitionTrait::setConfigDependencies()

File

core/lib/Drupal/Core/Plugin/Definition/DependentPluginDefinitionTrait.php, line 29

Class

DependentPluginDefinitionTrait
Provides a trait for a plugin definition that has dependencies.

Namespace

Drupal\Core\Plugin\Definition

Code

public function setConfigDependencies(array $config_dependencies) {
  $this->config_dependencies = $config_dependencies;
  return $this;
}