function AttributeBase::setProvider
Sets the name of the provider of the attribute class.
Parameters
string $provider: The provider of the annotated class.
Overrides AttributeInterface::setProvider
File
- 
              core/
lib/ Drupal/ Component/ Plugin/ Attribute/ AttributeBase.php, line 51  
Class
- AttributeBase
 - Provides a base class for classed attributes.
 
Namespace
Drupal\Component\Plugin\AttributeCode
public function setProvider(string $provider) : void {
  $this->provider = $provider;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.