function ContentTranslationManagerInterface::getTranslationHandler

Same name in other branches
  1. 9 core/modules/content_translation/src/ContentTranslationManagerInterface.php \Drupal\content_translation\ContentTranslationManagerInterface::getTranslationHandler()
  2. 10 core/modules/content_translation/src/ContentTranslationManagerInterface.php \Drupal\content_translation\ContentTranslationManagerInterface::getTranslationHandler()
  3. 11.x 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);

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