You are here

public function AnnotationBase::getId in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Component/Annotation/AnnotationBase.php \Drupal\Component\Annotation\AnnotationBase::getId()

Gets the unique ID for this annotated class.

Return value

string

Overrides AnnotationInterface::getId

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

File

lib/Drupal/Component/Annotation/AnnotationBase.php, line 53
Contains \Drupal\Component\Annotation\AnnotationBase.

Class

AnnotationBase
Provides a base class for classed annotations.

Namespace

Drupal\Component\Annotation

Code

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