Translation::$translation

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Annotation/Translation.php \Drupal\Core\Annotation\Translation::translation
  2. 10 core/lib/Drupal/Core/Annotation/Translation.php \Drupal\Core\Annotation\Translation::translation
  3. 11.x core/lib/Drupal/Core/Annotation/Translation.php \Drupal\Core\Annotation\Translation::translation

The string translation object.

Type: \Drupal\Core\StringTranslation\TranslatableMarkup

File

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

Class

Translation
Defines a translatable annotation object.

Namespace

Drupal\Core\Annotation

Code

protected $translation;

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