function AttributeBase::setDependencies

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php \Drupal\Component\Plugin\Attribute\AttributeBase::setDependencies()

File

core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php, line 86

Class

AttributeBase
Provides a base class for classed attributes.

Namespace

Drupal\Component\Plugin\Attribute

Code

public function setDependencies(?array $dependencies) : void {
  $this->dependencies = $dependencies;
}

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