Search for translatable

  1. Search 7.x for translatable
  2. Search 9.5.x for translatable
  3. Search 8.9.x for translatable
  4. Search 10.3.x for translatable
  5. Other projects
Title Object type File name Summary
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.
TranslatableStringAdapter class core/modules/package_manager/src/TranslatableStringAdapter.php An adapter for interoperable string translation.
TranslatableStringAdapter.php file core/modules/package_manager/src/TranslatableStringAdapter.php
TranslatableStringAdapter::getAll function core/modules/package_manager/src/TranslatableStringAdapter.php
TranslatableStringAdapter::trans function core/modules/package_manager/src/TranslatableStringAdapter.php
TranslatableStringFactory class core/modules/package_manager/src/TranslatableStringFactory.php Creates translatable strings that can interoperate with Composer Stager.
TranslatableStringFactory.php file core/modules/package_manager/src/TranslatableStringFactory.php
TranslatableStringFactory::createDomainOptions function core/modules/package_manager/src/TranslatableStringFactory.php
TranslatableStringFactory::createTranslatableMessage function core/modules/package_manager/src/TranslatableStringFactory.php
TranslatableStringFactory::createTranslationParameters function core/modules/package_manager/src/TranslatableStringFactory.php
TranslatableStringFactory::__construct function core/modules/package_manager/src/TranslatableStringFactory.php
TranslatableStringTest class core/modules/package_manager/tests/src/Kernel/TranslatableStringTest.php @covers \Drupal\package_manager\TranslatableStringFactory
@covers \Drupal\package_manager\TranslatableStringAdapter
TranslatableStringTest.php file core/modules/package_manager/tests/src/Kernel/TranslatableStringTest.php
TranslatableStringTest::testCreateTranslatableString function core/modules/package_manager/tests/src/Kernel/TranslatableStringTest.php Tests various ways of creating a translatable string.
TranslationTest::testTranslatableFieldSaveLoad function core/modules/field/tests/src/Kernel/TranslationTest.php Tests translatable fields storage/retrieval.
ValidationResultTest::testMessagesMustBeTranslatable function core/modules/package_manager/tests/src/Unit/ValidationResultTest.php Tests that the messages are asserted to be translatable.
ViewNonTranslatableEntityTest class core/modules/views/tests/src/Functional/Entity/ViewNonTranslatableEntityTest.php Tests the view creation of non-translatable entities.
ViewNonTranslatableEntityTest.php file core/modules/views/tests/src/Functional/Entity/ViewNonTranslatableEntityTest.php
ViewNonTranslatableEntityTest::$defaultTheme property core/modules/views/tests/src/Functional/Entity/ViewNonTranslatableEntityTest.php The theme to install as the default for testing.
ViewNonTranslatableEntityTest::$modules property core/modules/views/tests/src/Functional/Entity/ViewNonTranslatableEntityTest.php Modules to install.
ViewNonTranslatableEntityTest::testViewNoTranslatableEntity function core/modules/views/tests/src/Functional/Entity/ViewNonTranslatableEntityTest.php Tests displaying a view of non-translatable entities.
ViewsModerationStateFilterTest::testNonTranslatableEntityType function core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php Tests the moderation filter with a non-translatable entity type.
YamlDirectoryDiscoveryTest::testGetDefinitionsWithTranslatableDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php @covers ::getDefinitions
YamlDiscovery::$translatableProperties property core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php Contains an array of translatable properties passed along to t().
YamlDiscovery::addTranslatableProperty function core/lib/Drupal/Core/Plugin/Discovery/YamlDiscovery.php Set one of the YAML values as being translatable.
YamlDiscoveryTest::testGetDefinitionsWithTranslatableDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDiscoveryTest.php @covers ::getDefinitions

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