You are here

public function PluginID::getId in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Annotation/PluginID.php \Drupal\Component\Annotation\PluginID::getId()
  2. 9 core/lib/Drupal/Component/Annotation/PluginID.php \Drupal\Component\Annotation\PluginID::getId()

Gets the unique ID for this annotated class.

Return value

string

Overrides AnnotationBase::getId

File

core/lib/Drupal/Component/Annotation/PluginID.php, line 35

Class

PluginID
Defines a Plugin annotation object that just contains an ID.

Namespace

Drupal\Component\Annotation

Code

public function getId() {
  return $this->value;
}