public function TestAnnotation::get in Drupal 9
Same name and namespace in other branches
- 8 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
Namespace
Drupal\Tests\Component\Annotation\Plugin\DiscoveryCode
public function get() {
return new ObjectDefinition($this->definition);
}