Search for getTranslation

  1. Search 7.x for getTranslation
  2. Search 9.5.x for getTranslation
  3. Search 8.9.x for getTranslation
  4. Search 11.x for getTranslation
  5. Other projects
Title Object type File name Summary
ConfigTranslationUiTestBase::getTranslation function core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTestBase.php Gets translation from locale storage.
ContentEntityBase::getTranslation function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::getTranslationLanguages function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::getTranslationStatus function core/lib/Drupal/Core/Entity/ContentEntityBase.php Returns the translation status.
ContentTranslationHandler::getTranslationAccess function core/modules/content_translation/src/ContentTranslationHandler.php Checks that the user can perform the operation on the entity translation.
ContentTranslationHandlerInterface::getTranslationAccess function core/modules/content_translation/src/ContentTranslationHandlerInterface.php Checks that the user can perform the operation on the entity translation.
ContentTranslationManager::getTranslationHandler function core/modules/content_translation/src/ContentTranslationManager.php Returns an instance of the Content translation handler.
ContentTranslationManager::getTranslationMetadata function core/modules/content_translation/src/ContentTranslationManager.php Returns an instance of the Content translation metadata.
ContentTranslationManagerInterface::getTranslationHandler function core/modules/content_translation/src/ContentTranslationManagerInterface.php Returns an instance of the Content translation handler.
ContentTranslationManagerInterface::getTranslationMetadata function core/modules/content_translation/src/ContentTranslationManagerInterface.php Returns an instance of the Content translation metadata.
ContentTranslationUITestBase::getTranslation function core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php Returns the translation object to use to retrieve the translated values.
EntityRepository::getTranslationFromContext function core/lib/Drupal/Core/Entity/EntityRepository.php Gets the entity translation to be used in the given context.
EntityRepositoryInterface::getTranslationFromContext function core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php Gets the entity translation to be used in the given context.
EntityRepositoryTest::testGetTranslationFromContext function core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php Tests the getTranslationFromContext() method.
FileTranslation::getTranslationFilesPattern function core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php Provides translation file name pattern.
PoItem::getTranslation function core/lib/Drupal/Component/Gettext/PoItem.php Gets the translation string(s) if the translation has plurals.
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.
TranslationStatusInterface::getTranslationStatus function core/lib/Drupal/Core/TypedData/TranslationStatusInterface.php Returns the translation status.

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