Search for getTranslationFromContext

  1. Search 7.x for getTranslationFromContext
  2. Search 9.5.x for getTranslationFromContext
  3. Search 8.9.x for getTranslationFromContext
  4. Search 11.x for getTranslationFromContext
  5. Other projects
Title Object type File name Summary
EntityRepository::getTranslationFromContext function core/lib/Drupal/Core/Entity/EntityRepository.php
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.

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