function AnnotationInterface::get

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Component/Annotation/AnnotationInterface.php \Drupal\Component\Annotation\AnnotationInterface::get()
  2. 10 core/lib/Drupal/Component/Annotation/AnnotationInterface.php \Drupal\Component\Annotation\AnnotationInterface::get()
  3. 8.9.x core/lib/Drupal/Component/Annotation/AnnotationInterface.php \Drupal\Component\Annotation\AnnotationInterface::get()

Gets the value of an annotation.

1 method overrides AnnotationInterface::get()
PluginExample::get in core/modules/system/tests/modules/plugin_test/src/Plugin/Annotation/PluginExample.php
Gets the value of an annotation.

File

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

Class

AnnotationInterface
Defines a common interface for classed annotations.

Namespace

Drupal\Component\Annotation

Code

public function get();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.