function AttributeBase::setProvider
Same name in other branches
- 10 core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php \Drupal\Component\Plugin\Attribute\AttributeBase::setProvider()
Overrides AttributeInterface::setProvider
1 call to AttributeBase::setProvider()
- MigrateSource::setProviders in core/
modules/ migrate/ src/ Attribute/ MigrateSource.php - Sets the provider names of the attribute class.
1 method overrides AttributeBase::setProvider()
- MigrateSource::setProvider in core/
modules/ migrate/ src/ Attribute/ MigrateSource.php - Sets the name of the provider of the attribute class.
File
-
core/
lib/ Drupal/ Component/ Plugin/ Attribute/ AttributeBase.php, line 40
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.