Provides an interface for common functionality for content translation.
Hierarchy
- interface \Drupal\content_translation\ContentTranslationManagerInterface
File
- core/modules/content_translation/src/ContentTranslationManagerInterface.php, line 10
Namespace
Drupal\content_translation
Members
Name | Modifiers | Type | Description |
---|---|---|---|
ContentTranslationManagerInterface::getSupportedEntityTypes | public | function | Gets the entity types that support content translation. |
ContentTranslationManagerInterface::getTranslationHandler | public | function | Returns an instance of the Content translation handler. |
ContentTranslationManagerInterface::getTranslationMetadata | public | function | Returns an instance of the Content translation metadata. |
ContentTranslationManagerInterface::isEnabled | public | function | Determines whether the given entity type is translatable. |
ContentTranslationManagerInterface::isSupported | public | function | Checks whether an entity type supports translation. |
ContentTranslationManagerInterface::setEnabled | public | function | Sets the value for translatability of the given entity type bundle. |
Please login to continue.