function AttributeInterface::getClass

Same name in other branches
  1. 10 core/lib/Drupal/Component/Plugin/Attribute/AttributeInterface.php \Drupal\Component\Plugin\Attribute\AttributeInterface::getClass()

Gets the class of the attribute class.

Return value

class-string|null

1 method overrides AttributeInterface::getClass()
AttributeBase::getClass in core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php
Gets the class of the attribute class.

File

core/lib/Drupal/Component/Plugin/Attribute/AttributeInterface.php, line 42

Class

AttributeInterface
Defines a common interface for classed attributes.

Namespace

Drupal\Component\Plugin\Attribute

Code

public function getClass() : ?string;

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