public function Translation::get in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Annotation/Translation.php \Drupal\Core\Annotation\Translation::get()
- 10 core/lib/Drupal/Core/Annotation/Translation.php \Drupal\Core\Annotation\Translation::get()
Gets the value of an annotation.
Overrides AnnotationInterface::get
File
- core/
lib/ Drupal/ Core/ Annotation/ Translation.php, line 90
Class
- Translation
- Defines a translatable annotation object.
Namespace
Drupal\Core\AnnotationCode
public function get() {
return $this->translation;
}