You are here

public function TestAnnotation::get in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php \Drupal\Tests\Component\Annotation\Plugin\Discovery\TestAnnotation::get()
  2. 9 core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php \Drupal\Tests\Component\Annotation\Plugin\Discovery\TestAnnotation::get()

Gets the value of an annotation.

Overrides Plugin::get

File

core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php, line 49

Class

TestAnnotation

Namespace

Drupal\Tests\Component\Annotation\Plugin\Discovery

Code

public function get() {
  return new ObjectDefinition($this->definition);
}