You are here

public function Translation::get in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Core/Annotation/Translation.php \Drupal\Core\Annotation\Translation::get()

Gets the value of an annotation.

Overrides AnnotationInterface::get

File

lib/Drupal/Core/Annotation/Translation.php, line 95
Contains \Drupal\Core\Annotation\Translation.

Class

Translation
Defines a translatable annotation object.

Namespace

Drupal\Core\Annotation

Code

public function get() {
  return $this->translation;
}