You are here

public function ContentTranslationManagerInterface::getTranslationHandler in Drupal 8

Same name and namespace in other branches
  1. 9 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_translation

Code

public function getTranslationHandler($entity_type_id);