public function AnnotationInterface::getId in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Annotation/AnnotationInterface.php \Drupal\Component\Annotation\AnnotationInterface::getId()
- 9 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 - Gets the unique ID for this annotated class.
- Plugin::getId in core/
lib/ Drupal/ Component/ Annotation/ Plugin.php - Gets the unique ID for this annotated class.
File
- core/
lib/ Drupal/ Component/ Annotation/ AnnotationInterface.php, line 35
Class
- AnnotationInterface
- Defines a common interface for classed annotations.
Namespace
Drupal\Component\AnnotationCode
public function getId();