public function AnnotationBase::getId in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Annotation/AnnotationBase.php \Drupal\Component\Annotation\AnnotationBase::getId()
- 9 core/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 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\AnnotationCode
public function getId() {
return $this->id;
}