function AttributeInterface::getDependencies
Gets the dependencies for this attribute class.
Return value
array{"class"?: list<class-string>, "interface"?: list<class-string>, "trait"?: list<class-string>, "provider"?: list<string>}|null The list of dependencies, keyed by type. If the type is 'class', 'trait', or 'interface', the values for the type are class names. If the type is 'provider', the values for the type are provider names.
1 method overrides AttributeInterface::getDependencies()
- AttributeBase::getDependencies in core/
lib/ Drupal/ Component/ Plugin/ Attribute/ AttributeBase.php - Gets the dependencies for this attribute class.
File
-
core/
lib/ Drupal/ Component/ Plugin/ Attribute/ AttributeInterface.php, line 63
Class
- AttributeInterface
- Defines a common interface for classed attributes.
Namespace
Drupal\Component\Plugin\AttributeCode
public function getDependencies() : ?array;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.