W3cubDocs

/Drupal 8

protected property 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;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Annotation!Translation.php/property/Translation::translation/8.1.x