function TranslatableMarkup::getUntranslatedString

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php \Drupal\Core\StringTranslation\TranslatableMarkup::getUntranslatedString()
  2. 10 core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php \Drupal\Core\StringTranslation\TranslatableMarkup::getUntranslatedString()
  3. 11.x core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php \Drupal\Core\StringTranslation\TranslatableMarkup::getUntranslatedString()

Gets the untranslated string value stored in this translated string.

Return value

string The string stored in this wrapper.

File

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

Class

TranslatableMarkup
Provides translatable markup class.

Namespace

Drupal\Core\StringTranslation

Code

public function getUntranslatedString() {
    return $this->string;
}

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