TranslationWrapper.php

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

Namespace

Drupal\Core\StringTranslation

File

core/lib/Drupal/Core/StringTranslation/TranslationWrapper.php

View source
<?php

namespace Drupal\Core\StringTranslation;


/**
 * Provides translatable string class.
 *
 * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
 *   Use the \Drupal\Core\StringTranslation\TranslatableMarkup class instead.
 */
class TranslationWrapper extends TranslatableMarkup {

}

Classes

Title Deprecated Summary
TranslationWrapper

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

Provides translatable string class.

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