function AttributeInterface::getProvider
Same name and namespace in other branches
- 10 core/lib/Drupal/Component/Plugin/Attribute/AttributeInterface.php \Drupal\Component\Plugin\Attribute\AttributeInterface::getProvider()
Gets the name of the provider of the attribute class.
Return value
string|null The provider of the attribute class.
2 methods override AttributeInterface::getProvider()
- AttributeBase::getProvider in core/
lib/ Drupal/ Component/ Plugin/ Attribute/ AttributeBase.php - Gets the name of the provider of the attribute class.
- MultipleProviderAttributeInterface::getProvider in core/
modules/ migrate/ src/ Attribute/ MultipleProviderAttributeInterface.php - Gets the name of the provider of the attribute class.
File
-
core/
lib/ Drupal/ Component/ Plugin/ Attribute/ AttributeInterface.php, line 21
Class
- AttributeInterface
- Defines a common interface for classed attributes.
Namespace
Drupal\Component\Plugin\AttributeCode
public function getProvider() : ?string;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.