interface AnnotationInterface

Defines a common interface for classed annotations.

Hierarchy

Expanded class hierarchy of AnnotationInterface

All classes that implement AnnotationInterface

1 file declares its use of AnnotationInterface
Translation.php in drupal/core/lib/Drupal/Core/Annotation/Translation.php
Definition of Drupal\Core\Annotation\Translation.

File

drupal/core/lib/Drupal/Component/Annotation/AnnotationInterface.php, line 13
Contains Drupal\Component\Annotation\AnnotationInterface.

Namespace

Drupal\Component\Annotation
View source
interface AnnotationInterface {

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

}

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
AnnotationInterface::get public function Returns the value of an annotation.