Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
TranslatableMarkup::getOption function core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php Gets a specific option from this translated string.
TranslatableMarkup::getOptions function core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php Gets all options from this translated string.
TranslatableMarkup::getStringTranslation function core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php Gets the string translation service.
TranslatableMarkup::getUntranslatedString function core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php Gets the untranslated string value stored in this translated string.
TranslatableMarkup::render function core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php Renders the object as a string.
TranslatableMarkup::__construct function core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php Constructs a new class instance.
TranslatableMarkup::__sleep function core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php Magic __sleep() method to avoid serializing the string translator.
TranslatableMarkupTest class core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php Tests the TranslatableMarkup class.
TranslatableMarkupTest.php file core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php
TranslatableMarkupTest::$lastErrorMessage property core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php The error message of the last error in the error handler.
TranslatableMarkupTest::$lastErrorNumber property core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php The error number of the last error in the error handler.
TranslatableMarkupTest::errorHandler function core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php Custom error handler that saves the last error.
TranslatableMarkupTest::testIsStringAssertion function core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php @covers ::__construct[[api-linebreak]]
TranslatableMarkupTest::testIsStringAssertionWithFormattableMarkup function core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php @covers ::__construct[[api-linebreak]]
TranslatableMarkupTest::testToString function core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php Tests that errors are correctly handled when a __toString() fails.
TranslatableRevisionableInterface interface core/lib/Drupal/Core/Entity/TranslatableRevisionableInterface.php Provides methods for an entity to support revision translation.
TranslatableRevisionableInterface.php file core/lib/Drupal/Core/Entity/TranslatableRevisionableInterface.php
TranslatableRevisionableInterface::isDefaultTranslationAffectedOnly function core/lib/Drupal/Core/Entity/TranslatableRevisionableInterface.php Checks if untranslatable fields should affect only the default translation.
TranslatableRevisionableInterface::isLatestTranslationAffectedRevision function core/lib/Drupal/Core/Entity/TranslatableRevisionableInterface.php Checks whether this is the latest revision affecting this translation.
TranslatableRevisionableInterface::isRevisionTranslationAffected function core/lib/Drupal/Core/Entity/TranslatableRevisionableInterface.php Checks whether the current translation is affected by the current revision.
TranslatableRevisionableInterface::isRevisionTranslationAffectedEnforced function core/lib/Drupal/Core/Entity/TranslatableRevisionableInterface.php Checks if the revision translation affected flag value has been enforced.
TranslatableRevisionableInterface::setRevisionTranslationAffected function core/lib/Drupal/Core/Entity/TranslatableRevisionableInterface.php Marks the current revision translation as affected.
TranslatableRevisionableInterface::setRevisionTranslationAffectedEnforced function core/lib/Drupal/Core/Entity/TranslatableRevisionableInterface.php Enforces the revision translation affected flag value.
TranslatableRevisionableStorageInterface interface core/lib/Drupal/Core/Entity/TranslatableRevisionableStorageInterface.php A storage that supports translatable and revisionable entity types.
TranslatableRevisionableStorageInterface.php file core/lib/Drupal/Core/Entity/TranslatableRevisionableStorageInterface.php
TranslatableRevisionableStorageInterface::createRevision function core/lib/Drupal/Core/Entity/TranslatableRevisionableStorageInterface.php Creates a new revision starting off from the specified entity object.
TranslatableRevisionableStorageInterface::getLatestTranslationAffectedRevisionId function core/lib/Drupal/Core/Entity/TranslatableRevisionableStorageInterface.php Returns the latest revision affecting the specified translation.
TranslatableStorageInterface interface core/lib/Drupal/Core/Entity/TranslatableStorageInterface.php A storage that supports translatable entity types.
TranslatableStorageInterface.php file core/lib/Drupal/Core/Entity/TranslatableStorageInterface.php
TranslatableStorageInterface::createTranslation function core/lib/Drupal/Core/Entity/TranslatableStorageInterface.php Constructs a new entity translation object, without permanently saving it.
TranslatedViewTest class core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Tests that translated strings in views UI don't override original strings.
TranslatedViewTest.php file core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php
TranslatedViewTest::$adminUser property core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Administrator user for tests.
TranslatedViewTest::$defaultTheme property core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php The theme to install as the default for testing.
TranslatedViewTest::$langcodes property core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Languages to enable.
TranslatedViewTest::$modules property core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php Modules to enable.
TranslatedViewTest::setUp function core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php
TranslatedViewTest::testTranslatedStrings function core/modules/views_ui/tests/src/Functional/TranslatedViewTest.php
TranslateEditForm class core/modules/locale/src/Form/TranslateEditForm.php Defines a translation edit form.
TranslateEditForm.php file core/modules/locale/src/Form/TranslateEditForm.php
TranslateEditForm::buildForm function core/modules/locale/src/Form/TranslateEditForm.php Form constructor.
TranslateEditForm::getFormId function core/modules/locale/src/Form/TranslateEditForm.php Returns a unique string identifying the form.
TranslateEditForm::submitForm function core/modules/locale/src/Form/TranslateEditForm.php Form submission handler.
TranslateEditForm::validateForm function core/modules/locale/src/Form/TranslateEditForm.php Form validation handler.
TranslateFilterForm class core/modules/locale/src/Form/TranslateFilterForm.php Provides a filtered translation edit form.
TranslateFilterForm.php file core/modules/locale/src/Form/TranslateFilterForm.php
TranslateFilterForm::buildForm function core/modules/locale/src/Form/TranslateFilterForm.php Form constructor.
TranslateFilterForm::getFormId function core/modules/locale/src/Form/TranslateFilterForm.php Returns a unique string identifying the form.
TranslateFilterForm::resetForm function core/modules/locale/src/Form/TranslateFilterForm.php Provides a submit handler for the reset button.
TranslateFilterForm::submitForm function core/modules/locale/src/Form/TranslateFilterForm.php Form submission handler.

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