function AttributeBase::getClass

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

Overrides AttributeInterface::getClass

2 calls to AttributeBase::getClass()
AttributeBase::get in core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php
PluginID::get in core/lib/Drupal/Component/Plugin/Attribute/PluginID.php
1 method overrides AttributeBase::getClass()
CKEditor5Plugin::getClass in core/modules/ckeditor5/src/Attribute/CKEditor5Plugin.php

File

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

Class

AttributeBase
Provides a base class for classed attributes.

Namespace

Drupal\Component\Plugin\Attribute

Code

public function getClass() : string {
    return $this->class;
}

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