You are here

public function LingotekConfigurationServiceInterface::setFieldLingotekEnabled in Lingotek Translation 8

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

Sets the field as enabled for Lingotek translation.

Parameters

string $entity_type_id: The type of the entity.

string $bundle: The bundle of the entity.

string $field_name: The field of the bundle.

bool $enabled: Flag. Defaults to TRUE.

1 method overrides LingotekConfigurationServiceInterface::setFieldLingotekEnabled()
LingotekConfigurationService::setFieldLingotekEnabled in src/LingotekConfigurationService.php
Sets the field as enabled for Lingotek translation.

File

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

Class

LingotekConfigurationServiceInterface
Defines service for accessing the Lingotek configuration.

Namespace

Drupal\lingotek

Code

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