Search for translatable

  1. Search 7.x for translatable
  2. Search 8.9.x for translatable
  3. Search 10.3.x for translatable
  4. Search 11.x for translatable
  5. Other projects
Title Object type File name Summary
LanguageNegotiationContentEntityTest::createTranslatableEntity function core/modules/language/tests/src/Functional/LanguageNegotiationContentEntityTest.php Creates a translated entity.
LanguageSelectorTranslatableTest class core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php Tests the content translation settings language selector options.
LanguageSelectorTranslatableTest.php file core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php
LanguageSelectorTranslatableTest::$administrator property core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php The user with administrator privileges.
LanguageSelectorTranslatableTest::$defaultTheme property core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php The theme to install as the default for testing.
LanguageSelectorTranslatableTest::$modules property core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php Modules to enable.
LanguageSelectorTranslatableTest::getAdministratorPermissions function core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php Returns an array of permissions needed for the translator.
LanguageSelectorTranslatableTest::setUp function core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php
LanguageSelectorTranslatableTest::testLanguageStringSelector function core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php Tests content translation language selectors are correctly translated.
LocaleConfigManager::getTranslatableData function core/modules/locale/src/LocaleConfigManager.php Gets translatable configuration data for a typed configuration element.
LocaleConfigManager::getTranslatableDefaultConfig function core/modules/locale/src/LocaleConfigManager.php Gets array of translated strings for Locale translatable configuration.
LocaleConfigManager::processTranslatableData function core/modules/locale/src/LocaleConfigManager.php Process the translatable data array with a given language.
LocaleConfigSubscriber::processTranslatableData function core/modules/locale/src/LocaleConfigSubscriber.php Process the translatable data array with a given language.
locale_is_translatable function core/modules/locale/locale.module Checks whether $langcode is a language supported as a locale target.
locale_translatable_language_list function core/modules/locale/locale.module Returns list of translatable languages.
MediaTranslationTest::testTranslatableFieldSaveLoad function core/modules/media/tests/src/Kernel/MediaTranslationTest.php Tests translatable fields storage/retrieval.
MenuLinkBase::isTranslatable function core/lib/Drupal/Core/Menu/MenuLinkBase.php Returns whether this link can be translated.
MenuLinkContent::isTranslatable function core/modules/menu_link_content/src/Plugin/Menu/MenuLinkContent.php Returns whether this link can be translated.
MenuLinkInterface::isTranslatable function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns whether this link can be translated.
PluralTranslatableMarkup class core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php A class to hold plural translatable markup.
PluralTranslatableMarkup.php file core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php
PluralTranslatableMarkup::$count property core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php The item count to display.
PluralTranslatableMarkup::$translatedString property core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php The already translated string.
PluralTranslatableMarkup::createFromTranslatedString function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Constructs a new class instance from already translated markup.
PluralTranslatableMarkup::getPluralIndex function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Gets the plural index through the gettext formula.
PluralTranslatableMarkup::render function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Renders the object as a string.
PluralTranslatableMarkup::__construct function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Constructs a new PluralTranslatableMarkup object.
PluralTranslatableMarkup::__sleep function core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php Magic __sleep() method to avoid serializing the string translator.
PluralTranslatableMarkupTest class core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php Tests the TranslatableMarkup class.
PluralTranslatableMarkupTest.php file core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php
PluralTranslatableMarkupTest::providerPluralTranslatableMarkupSerialization function core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php Data provider for ::testPluralTranslatableMarkupSerialization().
PluralTranslatableMarkupTest::testPluralTranslatableMarkupSerialization function core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php Tests serialization of PluralTranslatableMarkup().
SqlContentEntityStorageSchemaTest::testGetSchemaRevisionableTranslatable function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php Tests the schema for revisionable, translatable entities.
SqlContentEntityStorageSchemaTest::testGetSchemaTranslatable function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageSchemaTest.php Tests the schema for non-revisionable, translatable entities.
SqlContentEntityStorageTest::testGetTableMappingRevisionableTranslatable function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with a revisionable, translatable entity type.
SqlContentEntityStorageTest::testGetTableMappingRevisionableTranslatableWithFields function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with a complex entity type with fields.
SqlContentEntityStorageTest::testGetTableMappingTranslatable function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with a non-revisionable, translatable entity type.
SqlContentEntityStorageTest::testGetTableMappingTranslatableWithFields function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests getTableMapping() with a translatable entity type with fields.
TranslatableFieldTest class core/modules/layout_builder/tests/src/Kernel/TranslatableFieldTest.php Tests Layout Builder with a translatable layout field.
TranslatableFieldTest.php file core/modules/layout_builder/tests/src/Kernel/TranslatableFieldTest.php
TranslatableFieldTest::$modules property core/modules/layout_builder/tests/src/Kernel/TranslatableFieldTest.php Modules to enable.
TranslatableFieldTest::setUp function core/modules/layout_builder/tests/src/Kernel/TranslatableFieldTest.php
TranslatableFieldTest::testSectionsClearedOnCreateTranslation function core/modules/layout_builder/tests/src/Kernel/TranslatableFieldTest.php Tests that sections on cleared when creating a new translation.
TranslatableInterface interface core/lib/Drupal/Core/TypedData/TranslatableInterface.php Interface for translatable data.
TranslatableInterface interface core/lib/Drupal/Core/Entity/TranslatableInterface.php Provides methods for an entity to support translation.
TranslatableInterface.php file core/lib/Drupal/Core/TypedData/TranslatableInterface.php
TranslatableInterface.php file core/lib/Drupal/Core/Entity/TranslatableInterface.php
TranslatableInterface::addTranslation function core/lib/Drupal/Core/TypedData/TranslatableInterface.php Adds a new translation to the translatable object.
TranslatableInterface::getTranslation function core/lib/Drupal/Core/TypedData/TranslatableInterface.php Gets a translation of the data.
TranslatableInterface::getTranslationLanguages function core/lib/Drupal/Core/TypedData/TranslatableInterface.php Returns the languages the data is translated to.

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