function ContentTranslationManagerInterface::setEnabled
Same name in other branches
- 9 core/modules/content_translation/src/ContentTranslationManagerInterface.php \Drupal\content_translation\ContentTranslationManagerInterface::setEnabled()
- 8.9.x core/modules/content_translation/src/ContentTranslationManagerInterface.php \Drupal\content_translation\ContentTranslationManagerInterface::setEnabled()
- 11.x core/modules/content_translation/src/ContentTranslationManagerInterface.php \Drupal\content_translation\ContentTranslationManagerInterface::setEnabled()
Sets the value for translatability of the given entity type bundle.
Parameters
string $entity_type_id: The entity type.
string $bundle: The bundle of the entity.
bool $value: The boolean value we need to save.
File
-
core/
modules/ content_translation/ src/ ContentTranslationManagerInterface.php, line 63
Class
- ContentTranslationManagerInterface
- Provides an interface for common functionality for content translation.
Namespace
Drupal\content_translationCode
public function setEnabled($entity_type_id, $bundle, $value);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.