You are here

public function AnnotationInterface::getId in Service Container 7.2

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

Gets the unique ID for this annotated class.

Return value

string

2 methods override AnnotationInterface::getId()
AnnotationBase::getId in lib/Drupal/Component/Annotation/AnnotationBase.php
Gets the unique ID for this annotated class.
Plugin::getId in lib/Drupal/Component/Annotation/Plugin.php
Gets the unique ID for this annotated class.

File

lib/Drupal/Component/Annotation/AnnotationInterface.php, line 39
Contains \Drupal\Component\Annotation\AnnotationInterface.

Class

AnnotationInterface
Defines a common interface for classed annotations.

Namespace

Drupal\Component\Annotation

Code

public function getId();