You are here

public function LingotekConfigurationServiceInterface::isLanguageEnabled in Lingotek Translation 8

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

Checks if a language is enabled in the Lingotek interface.

Parameters

\Drupal\language\ConfigurableLanguageInterface $language: The language to check.

Return value

bool TRUE if the language is enabled. FALSE if it is disabled.

1 method overrides LingotekConfigurationServiceInterface::isLanguageEnabled()
LingotekConfigurationService::isLanguageEnabled in src/LingotekConfigurationService.php
Checks if a language is enabled in the Lingotek interface.

File

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

Class

LingotekConfigurationServiceInterface
Defines service for accessing the Lingotek configuration.

Namespace

Drupal\lingotek

Code

public function isLanguageEnabled(ConfigurableLanguageInterface $language);