function AnnotationInterface::getClass
Same name in other branches
- 9 core/lib/Drupal/Component/Annotation/AnnotationInterface.php \Drupal\Component\Annotation\AnnotationInterface::getClass()
- 8.9.x core/lib/Drupal/Component/Annotation/AnnotationInterface.php \Drupal\Component\Annotation\AnnotationInterface::getClass()
- 10 core/lib/Drupal/Component/Annotation/AnnotationInterface.php \Drupal\Component\Annotation\AnnotationInterface::getClass()
Gets the class of the annotated class.
Return value
string
2 methods override AnnotationInterface::getClass()
- AnnotationBase::getClass in core/
lib/ Drupal/ Component/ Annotation/ AnnotationBase.php - Gets the class of the annotated class.
- Plugin::getClass in core/
lib/ Drupal/ Component/ Annotation/ Plugin.php
File
-
core/
lib/ Drupal/ Component/ Annotation/ AnnotationInterface.php, line 42
Class
- AnnotationInterface
- Defines a common interface for classed annotations.
Namespace
Drupal\Component\AnnotationCode
public function getClass();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.