Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AttributeBase.php

function AttributeBase::getClass

Overrides AttributeInterface::getClass

3 calls to AttributeBase::getClass()
AttributeBase::get in core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.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.
1 method overrides AttributeBase::getClass()
CKEditor5Plugin::getClass in core/modules/ckeditor5/src/Attribute/CKEditor5Plugin.php
Gets the class of the attribute class.

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;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal