You are here

public function TestAnnotation::get in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Component/Annotation/Plugin/Discovery/AnnotationBridgeDecoratorTest.php \Drupal\Tests\Component\Annotation\Plugin\Discovery\TestAnnotation::get()
  2. 10 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 46

Class

TestAnnotation

Namespace

Drupal\Tests\Component\Annotation\Plugin\Discovery

Code

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