function AttributeBase::getProvider

Gets the name of the provider of the attribute class.

Return value

string|null The provider of the attribute class.

Overrides AttributeInterface::getProvider

4 calls to AttributeBase::getProvider()
AttributeBase::get in core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php
Gets the value of an attribute.
CKEditor5Plugin::get in core/modules/ckeditor5/src/Attribute/CKEditor5Plugin.php
Gets the value of an attribute.
EntityType::get in core/lib/Drupal/Core/Entity/Attribute/EntityType.php
Gets the value of an attribute.
PluginID::get in core/lib/Drupal/Component/Plugin/Attribute/PluginID.php
Gets the value of an attribute.

File

core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php, line 44

Class

AttributeBase
Provides a base class for classed attributes.

Namespace

Drupal\Component\Plugin\Attribute

Code

public function getProvider() : ?string {
  return $this->provider;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.