Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ContentTranslationManager.php

function ContentTranslationManager::getTranslationHandler

1 call to ContentTranslationManager::getTranslationHandler()
ContentTranslationManager::getTranslationMetadata in core/modules/content_translation/src/ContentTranslationManager.php

File

core/modules/content_translation/src/ContentTranslationManager.php, line 45

Class

ContentTranslationManager
Provides common functionality for content translation.

Namespace

Drupal\content_translation

Code

public function getTranslationHandler($entity_type_id) {
    return $this->entityTypeManager
        ->getHandler($entity_type_id, 'translation');
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal