You are here

public function LingotekConfigurationServiceInterface::setEnabled in Lingotek Translation 8

Same name and namespace in other branches
  1. 8.2 src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setEnabled()
  2. 4.0.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setEnabled()
  3. 3.0.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setEnabled()
  4. 3.1.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setEnabled()
  5. 3.2.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setEnabled()
  6. 3.3.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setEnabled()
  7. 3.4.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setEnabled()
  8. 3.5.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setEnabled()
  9. 3.6.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setEnabled()
  10. 3.7.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setEnabled()
  11. 3.8.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::setEnabled()

Sets whether the given entity type is Lingotek translatable.

Parameters

string $entity_type_id: The type of the entity.

string $bundle: The bundle of the entity.

bool $enabled: Flag. Defaults to TRUE.

1 method overrides LingotekConfigurationServiceInterface::setEnabled()
LingotekConfigurationService::setEnabled in src/LingotekConfigurationService.php
Sets whether the given entity type is Lingotek translatable.

File

src/LingotekConfigurationServiceInterface.php, line 54
Contains \Drupal\lingotek\LingotekConfigurationServiceInterface

Class

LingotekConfigurationServiceInterface
Defines service for accessing the Lingotek configuration.

Namespace

Drupal\lingotek

Code

public function setEnabled($entity_type_id, $bundle, $enabled = TRUE);