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

Breadcrumb

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

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

API Navigation

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