interface AnnotationInterface

Defines a common interface for classed annotations.

Hierarchy

Expanded class hierarchy of AnnotationInterface

All classes that implement AnnotationInterface

2 files declare their use of AnnotationInterface
Plugin.php in drupal/core/lib/Drupal/Core/Annotation/Plugin.php
Definition of Drupal\Core\Annotation\Plugin.
Translation.php in drupal/core/lib/Drupal/Core/Annotation/Translation.php
Definition of Drupal\Core\Annotation\Translation.

File

drupal/core/lib/Drupal/Core/Annotation/AnnotationInterface.php, line 13
Definition of Drupal\Core\Annotation\AnnotationInterface.

Namespace

Drupal\Core\Annotation
View source
interface AnnotationInterface {

  /**
   * Returns the value of an annotation.
   */
  public function get();

}

Members

Namesort descending Modifiers Type Description Overrides
AnnotationInterface::get public function Returns the value of an annotation. 2