AttributeBase::$dependencies
The dependencies for the attribute class.
Dependencies are keyed by type. If the type is 'class', 'interface', or 'trait', the values for the type are class names. If the type is 'provider', the values for the type are provider names.
Type: array{"class"?: list, "interface"?: list, "trait"?: list, "provider"?: list}|null
File
-
core/
lib/ Drupal/ Component/ Plugin/ Attribute/ AttributeBase.php, line 31
Class
- AttributeBase
- Provides a base class for classed attributes.
Namespace
Drupal\Component\Plugin\AttributeCode
protected array|null $dependencies = NULL;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.