function ContentTranslationManagerInterface::isSupported
Same name in other branches
- 9 core/modules/content_translation/src/ContentTranslationManagerInterface.php \Drupal\content_translation\ContentTranslationManagerInterface::isSupported()
- 10 core/modules/content_translation/src/ContentTranslationManagerInterface.php \Drupal\content_translation\ContentTranslationManagerInterface::isSupported()
- 11.x core/modules/content_translation/src/ContentTranslationManagerInterface.php \Drupal\content_translation\ContentTranslationManagerInterface::isSupported()
Checks whether an entity type supports translation.
Parameters
string $entity_type_id: The entity type.
Return value
bool TRUE if an entity type is supported, FALSE otherwise.
1 method overrides ContentTranslationManagerInterface::isSupported()
- ContentTranslationManager::isSupported in core/
modules/ content_translation/ src/ ContentTranslationManager.php - Checks whether an entity type supports translation.
File
-
core/
modules/ content_translation/ src/ ContentTranslationManagerInterface.php, line 29
Class
- ContentTranslationManagerInterface
- Provides an interface for common functionality for content translation.
Namespace
Drupal\content_translationCode
public function isSupported($entity_type_id);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.