function AttributeInterface::setProvider
Sets the name of the provider of the attribute class.
Parameters
string $provider: The provider of the annotated class.
1 method overrides AttributeInterface::setProvider()
- AttributeBase::setProvider in core/
lib/ Drupal/ Component/ Plugin/ Attribute/ AttributeBase.php - Sets the name of the provider of the attribute class.
File
-
core/
lib/ Drupal/ Component/ Plugin/ Attribute/ AttributeInterface.php, line 28
Class
- AttributeInterface
- Defines a common interface for classed attributes.
Namespace
Drupal\Component\Plugin\AttributeCode
public function setProvider(string $provider) : void;