TranslatableMarkup::$stringTranslation

Same name in other branches
  1. 9 core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php \Drupal\Core\StringTranslation\TranslatableMarkup::stringTranslation
  2. 8.9.x core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php \Drupal\Core\StringTranslation\TranslatableMarkup::stringTranslation
  3. 10 core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php \Drupal\Core\StringTranslation\TranslatableMarkup::stringTranslation

The string translation service.

Type: \Drupal\Core\StringTranslation\TranslationInterface

File

core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php, line 44

Class

TranslatableMarkup
Provides translatable markup class.

Namespace

Drupal\Core\StringTranslation

Code

protected $stringTranslation;

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