You are here

public function TranslatableMarkup::getUntranslatedString in Drupal 8

Same name and namespace in other branches
  1. 9 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()

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;
}