function PluginID::getId

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/Annotation/PluginID.php \Drupal\Component\Annotation\PluginID::getId()
  2. 10 core/lib/Drupal/Component/Annotation/PluginID.php \Drupal\Component\Annotation\PluginID::getId()
  3. 11.x core/lib/Drupal/Component/Annotation/PluginID.php \Drupal\Component\Annotation\PluginID::getId()

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

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