Search for createTranslation

  1. Search 7.x for createTranslation
  2. Search 9.5.x for createTranslation
  3. Search 8.9.x for createTranslation
  4. Search 10.3.x for createTranslation
  5. Other projects
Title Object type File name Summary
ContentEntityStorageBase::createTranslation function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Constructs a new entity translation object, without permanently saving it.
KeyValueContentEntityStorage::createTranslation function core/lib/Drupal/Core/Entity/KeyValueStore/KeyValueContentEntityStorage.php Constructs a new entity translation object, without permanently saving it.
LocaleConfigSubscriberTest::testCreateTranslation function core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php Tests creating translations of shipped configuration.
LocaleConfigSubscriberTest::testCreateTranslationMultiValue function core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php Tests creating translations configuration with multi value settings.
LocaleConfigSubscriberTest::testLocaleCreateTranslation function core/modules/locale/tests/src/Kernel/LocaleConfigSubscriberTest.php Tests importing community translations of shipped configuration.
LocaleStringTest::createTranslation function core/modules/locale/tests/src/Kernel/LocaleStringTest.php Creates single translation for source string.
PagerTest::createTranslation function core/modules/views/tests/src/Functional/Plugin/PagerTest.php Creates single translation for source string.
StringDatabaseStorage::createTranslation function core/modules/locale/src/StringDatabaseStorage.php
StringStorageInterface::createTranslation function core/modules/locale/src/StringStorageInterface.php Creates a string translation object bound to this storage but not saved.
TranslatableFieldTest::testSectionsClearedOnCreateTranslation function core/modules/layout_builder/tests/src/Kernel/TranslatableFieldTest.php Tests that sections on cleared when creating a new translation.
TranslatableStorageInterface::createTranslation function core/lib/Drupal/Core/Entity/TranslatableStorageInterface.php Constructs a new entity translation object, without permanently saving it.
TranslatableStringFactory::createTranslationParameters function core/modules/package_manager/src/TranslatableStringFactory.php
ViewsUITourTest::createTranslation function core/modules/tour/tests/src/Functional/ViewsUi/ViewsUITourTest.php Creates single translation for source string.

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