public function ContentTranslationManagerInterface::getTranslationHandler in Drupal 9
Same name and namespace in other branches
- 8 core/modules/content_translation/src/ContentTranslationManagerInterface.php \Drupal\content_translation\ContentTranslationManagerInterface::getTranslationHandler()
Returns an instance of the Content translation handler.
Parameters
string $entity_type_id: The type of the entity being translated.
Return value
\Drupal\content_translation\ContentTranslationHandlerInterface An instance of the content translation handler.
1 method overrides ContentTranslationManagerInterface::getTranslationHandler()
- ContentTranslationManager::getTranslationHandler in core/
modules/ content_translation/ src/ ContentTranslationManager.php - Returns an instance of the Content translation handler.
File
- core/
modules/ content_translation/ src/ ContentTranslationManagerInterface.php, line 40
Class
- ContentTranslationManagerInterface
- Provides an interface for common functionality for content translation.
Namespace
Drupal\content_translationCode
public function getTranslationHandler($entity_type_id);