function ContentTranslationManagerInterface::isSupported
Same name in other branches
- 9 core/modules/content_translation/src/ContentTranslationManagerInterface.php \Drupal\content_translation\ContentTranslationManagerInterface::isSupported()
- 8.9.x 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()
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.
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.