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
PluginExample.php in drupal/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/Annotation/PluginExample.php
Contains \Drupal\plugin_test\Plugin\Annotation\PluginExample.
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

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