function AnnotationInterface::get

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

Gets the value of an annotation.

6 methods override AnnotationInterface::get()
AnnotationBaseStub::get in core/tests/Drupal/Tests/Component/Annotation/AnnotationBaseTest.php
Gets the value of an annotation.
Plugin::get in core/lib/Drupal/Component/Annotation/Plugin.php
Gets the value of an annotation.
PluginExample::get in core/modules/system/tests/modules/plugin_test/src/Plugin/Annotation/PluginExample.php
Gets the value of an annotation.
PluginID::get in core/lib/Drupal/Component/Annotation/PluginID.php
Gets the value of an annotation.
PluralTranslation::get in core/lib/Drupal/Core/Annotation/PluralTranslation.php
Gets the value of an annotation.

... See full list

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.