function AttributeInterface::getId

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

Gets the unique ID for this attribute class.

Return value

string

1 method overrides AttributeInterface::getId()
AttributeBase::getId in core/lib/Drupal/Component/Plugin/Attribute/AttributeBase.php
Gets the unique ID for this attribute class.

File

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

Class

AttributeInterface
Defines a common interface for classed attributes.

Namespace

Drupal\Component\Plugin\Attribute

Code

public function getId() : string;

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