function AnnotationInterface::getId

Same name in other branches
  1. 9 core/lib/Drupal/Component/Annotation/AnnotationInterface.php \Drupal\Component\Annotation\AnnotationInterface::getId()
  2. 8.9.x core/lib/Drupal/Component/Annotation/AnnotationInterface.php \Drupal\Component\Annotation\AnnotationInterface::getId()
  3. 11.x core/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 core/lib/Drupal/Component/Annotation/AnnotationBase.php
Plugin::getId in core/lib/Drupal/Component/Annotation/Plugin.php

File

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

Class

AnnotationInterface
Defines a common interface for classed annotations.

Namespace

Drupal\Component\Annotation

Code

public function getId();

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