You are here

public function ContentTranslationManagerInterface::setEnabled in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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.

1 method overrides ContentTranslationManagerInterface::setEnabled()
ContentTranslationManager::setEnabled in core/modules/content_translation/src/ContentTranslationManager.php
Sets the value for translatability of the given entity type bundle.

File

core/modules/content_translation/src/ContentTranslationManagerInterface.php, line 68
Contains \Drupal\content_translation\ContentTranslationManagerInterface.

Class

ContentTranslationManagerInterface
Provides an interface for common functionality for content translation.

Namespace

Drupal\content_translation

Code

public function setEnabled($entity_type_id, $bundle, $value);