function AttributeInterface::setProvider
Same name in other branches
- 11.x core/lib/Drupal/Component/Plugin/Attribute/AttributeInterface.php \Drupal\Component\Plugin\Attribute\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
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;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.