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 11.x for translatable
  5. Other projects
Title Object type File name Summary
FieldStorageDefinitionInterface::setTranslatable function core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php Sets whether the field supports translation.
field_test_entity_info_translatable function core/modules/field/tests/modules/field_test/field_test.entity.inc Helper function to enable entity translations.
JsonApiPatchRegressionTest::testNonTranslatableEntityUpdatesFromIssue3043168 function core/modules/jsonapi/tests/src/Functional/JsonApiPatchRegressionTest.php Ensure non-translatable entities can be PATCHed with an alternate language.
LangcodeRequiredIfTranslatableValuesConstraint class core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php
LangcodeRequiredIfTranslatableValuesConstraint.php file core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php
LangcodeRequiredIfTranslatableValuesConstraint::$missingMessage property core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php The error message if this config object is missing a `langcode`.
LangcodeRequiredIfTranslatableValuesConstraint::$superfluousMessage property core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php The error message if this config object contains a superfluous `langcode`.
LangcodeRequiredIfTranslatableValuesConstraintValidator class core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php Validates the LangcodeRequiredIfTranslatableValues constraint.
LangcodeRequiredIfTranslatableValuesConstraintValidator.php file core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php
LangcodeRequiredIfTranslatableValuesConstraintValidator::validate function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraintValidator.php
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 install.
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::testContentTranslationPageTitle function core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php Tests that correct title is displayed for content translation page.
LanguageSelectorTranslatableTest::testLanguageStringSelector function core/modules/language/tests/src/Functional/LanguageSelectorTranslatableTest.php Tests content translation language selectors are correctly translated.
LanguageTestTrait::setFieldTranslatable function core/modules/language/tests/src/Traits/LanguageTestTrait.php Sets and saves a given field instance translation status.
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::testMissingPluralTranslation function core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php Tests when the plural translation is missing.
PluralTranslatableMarkupTest::testPluralTranslatableMarkupSerialization function core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php Tests serialization of PluralTranslatableMarkup().
RevisionVersionHistoryTranslatableTest class core/tests/Drupal/FunctionalTests/Entity/RevisionVersionHistoryTranslatableTest.php Tests version history page with translations.
RevisionVersionHistoryTranslatableTest.php file core/tests/Drupal/FunctionalTests/Entity/RevisionVersionHistoryTranslatableTest.php
RevisionVersionHistoryTranslatableTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Entity/RevisionVersionHistoryTranslatableTest.php The theme to install as the default for testing.
RevisionVersionHistoryTranslatableTest::$modules property core/tests/Drupal/FunctionalTests/Entity/RevisionVersionHistoryTranslatableTest.php Modules to install.
RevisionVersionHistoryTranslatableTest::setUp function core/tests/Drupal/FunctionalTests/Entity/RevisionVersionHistoryTranslatableTest.php

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