function TranslatableMarkup::getUntranslatedString

Same name in other branches
  1. 9 core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php \Drupal\Core\StringTranslation\TranslatableMarkup::getUntranslatedString()
  2. 8.9.x core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php \Drupal\Core\StringTranslation\TranslatableMarkup::getUntranslatedString()
  3. 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.

1 call to TranslatableMarkup::getUntranslatedString()
TranslatableStringAdapter::trans in core/modules/package_manager/src/TranslatableStringAdapter.php

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.