You are here

public function AnnotationInterface::getClass in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Annotation/AnnotationInterface.php \Drupal\Component\Annotation\AnnotationInterface::getClass()
  2. 9 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
Gets the class of the annotated class.

File

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

Class

AnnotationInterface
Defines a common interface for classed annotations.

Namespace

Drupal\Component\Annotation

Code

public function getClass();