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
FieldStorageDefinitionInterface::setTranslatable function core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php Sets whether the field supports translation.
FieldTestHelper::entityInfoTranslatable function core/modules/field/tests/modules/field_test/src/FieldTestHelper.php 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 Validation constraint for translatable configuration.
LangcodeRequiredIfTranslatableValuesConstraint.php file core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php
LangcodeRequiredIfTranslatableValuesConstraint::__construct function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/LangcodeRequiredIfTranslatableValuesConstraint.php #[HasNamedArguments]
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.
LocaleTranslatableProject class core/modules/locale/src/LocaleTranslatableProject.php Translatable project for interface translation.
LocaleTranslatableProject.php file core/modules/locale/src/LocaleTranslatableProject.php
LocaleTranslatableProject::createFromArray function core/modules/locale/src/LocaleTranslatableProject.php Creates a new instance from an array.
LocaleTranslatableProject::getLangcode function core/modules/locale/src/LocaleTranslatableProject.php Returns the project langcode.
LocaleTranslatableProject::getStatus function core/modules/locale/src/LocaleTranslatableProject.php Returns the project status.
LocaleTranslatableProject::getWeight function core/modules/locale/src/LocaleTranslatableProject.php Returns the weight.
LocaleTranslatableProject::setLangcode function core/modules/locale/src/LocaleTranslatableProject.php Sets the language code.
LocaleTranslatableProject::setStatus function core/modules/locale/src/LocaleTranslatableProject.php Sets the project status.
LocaleTranslatableProject::setWeight function core/modules/locale/src/LocaleTranslatableProject.php Sets the weight.
LocaleTranslatableProject::toArray function core/modules/locale/src/LocaleTranslatableProject.php Returns an array representation on the object.
LocaleTranslatableProject::__construct function core/modules/locale/src/LocaleTranslatableProject.php Locale translatable project value object.
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.
PhpTuf\ComposerStager\API\Translation\Factory\TranslatableFactoryInterface service core/modules/package_manager/package_manager.services.yml PhpTuf\ComposerStager\Internal\Translation\Factory\TranslatableFactory
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.

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