You are here

protected property Translation::$translation in Drupal 8

Same name and namespace in other branches
  1. 9 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

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;