function DependentPluginDefinitionTrait::setConfigDependencies

Same name in other branches
  1. 9 core/lib/Drupal/Core/Plugin/Definition/DependentPluginDefinitionTrait.php \Drupal\Core\Plugin\Definition\DependentPluginDefinitionTrait::setConfigDependencies()
  2. 10 core/lib/Drupal/Core/Plugin/Definition/DependentPluginDefinitionTrait.php \Drupal\Core\Plugin\Definition\DependentPluginDefinitionTrait::setConfigDependencies()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.