public function LingotekConfigTranslationServiceInterface::setEnabled in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 8 src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setEnabled()
- 8.2 src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setEnabled()
- 4.0.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setEnabled()
- 3.0.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setEnabled()
- 3.1.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setEnabled()
- 3.2.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setEnabled()
- 3.3.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setEnabled()
- 3.5.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setEnabled()
- 3.6.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setEnabled()
- 3.7.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setEnabled()
- 3.8.x src/LingotekConfigTranslationServiceInterface.php \Drupal\lingotek\LingotekConfigTranslationServiceInterface::setEnabled()
Sets if the given config entity is enabled for Lingotek config translation.
Parameters
string $plugin_id: The config entity plugin id.
bool $enabled: Flag for enabling or disabling this config entity. Defaults to TRUE.
1 method overrides LingotekConfigTranslationServiceInterface::setEnabled()
- LingotekConfigTranslationService::setEnabled in src/
LingotekConfigTranslationService.php - Sets if the given config entity is enabled for Lingotek config translation.
File
- src/
LingotekConfigTranslationServiceInterface.php, line 42
Class
- LingotekConfigTranslationServiceInterface
- Service for managing Lingotek configuration translations.
Namespace
Drupal\lingotekCode
public function setEnabled($plugin_id, $enabled = TRUE);