Provides common functionality for content translation.
Hierarchy
- class \Drupal\content_translation\ContentTranslationManager implements ContentTranslationManagerInterface
File
- core/modules/content_translation/src/ContentTranslationManager.php, line 11
Namespace
Drupal\content_translation
Members
| Name | Modifiers | Type | Description |
|---|---|---|---|
| ContentTranslationManager::$entityManager | protected | property | The entity type manager. |
| ContentTranslationManager::$updatesManager | protected | property | The updates manager. |
| ContentTranslationManager::getSupportedEntityTypes | public | function | Gets the entity types that support content translation. Overrides ContentTranslationManagerInterface::getSupportedEntityTypes |
| ContentTranslationManager::getTranslationHandler | function | Returns an instance of the Content translation handler. Overrides ContentTranslationManagerInterface::getTranslationHandler | |
| ContentTranslationManager::getTranslationMetadata | public | function | Returns an instance of the Content translation metadata. Overrides ContentTranslationManagerInterface::getTranslationMetadata |
| ContentTranslationManager::isEnabled | public | function | Determines whether the given entity type is translatable. Overrides ContentTranslationManagerInterface::isEnabled |
| ContentTranslationManager::isSupported | public | function | Checks whether an entity type supports translation. Overrides ContentTranslationManagerInterface::isSupported |
| ContentTranslationManager::loadContentLanguageSettings | protected | function | Loads a content language config entity based on the entity type and bundle. |
| ContentTranslationManager::setEnabled | public | function | Sets the value for translatability of the given entity type bundle. Overrides ContentTranslationManagerInterface::setEnabled |
| ContentTranslationManager::__construct | public | function | Constructs a ContentTranslationManageAccessCheck object. |
Please login to continue.