function Translation::get

Same name in other branches
  1. 9 core/lib/Drupal/Core/Annotation/Translation.php \Drupal\Core\Annotation\Translation::get()
  2. 8.9.x core/lib/Drupal/Core/Annotation/Translation.php \Drupal\Core\Annotation\Translation::get()
  3. 11.x core/lib/Drupal/Core/Annotation/Translation.php \Drupal\Core\Annotation\Translation::get()

Overrides AnnotationInterface::get

File

core/lib/Drupal/Core/Annotation/Translation.php, line 90

Class

Translation
Defines a translatable annotation object.

Namespace

Drupal\Core\Annotation

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.