class TranslationWrapper

Same name in other branches
  1. 9 core/lib/Drupal/Core/StringTranslation/TranslationWrapper.php \Drupal\Core\StringTranslation\TranslationWrapper
  2. 10 core/lib/Drupal/Core/StringTranslation/TranslationWrapper.php \Drupal\Core\StringTranslation\TranslationWrapper
  3. 11.x core/lib/Drupal/Core/StringTranslation/TranslationWrapper.php \Drupal\Core\StringTranslation\TranslationWrapper

Provides translatable string class.

Hierarchy

Expanded class hierarchy of TranslationWrapper

Deprecated

in drupal:8.0.0 and is removed from drupal:9.0.0. Use the \Drupal\Core\StringTranslation\TranslatableMarkup class instead.

File

core/lib/Drupal/Core/StringTranslation/TranslationWrapper.php, line 11

Namespace

Drupal\Core\StringTranslation
View source
class TranslationWrapper extends TranslatableMarkup {

}

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