function AnnotationBase::getId

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

Overrides AnnotationInterface::getId

1 method overrides AnnotationBase::getId()
PluginID::getId in core/lib/Drupal/Component/Annotation/PluginID.php
Gets the unique ID for this annotated class.

File

core/lib/Drupal/Component/Annotation/AnnotationBase.php, line 48

Class

AnnotationBase
Provides a base class for classed annotations.

Namespace

Drupal\Component\Annotation

Code

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

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