public function LingotekConfigurationServiceInterface::isLanguageEnabled in Lingotek Translation 8
Same name and namespace in other branches
- 8.2 src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isLanguageEnabled()
- 4.0.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isLanguageEnabled()
- 3.0.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isLanguageEnabled()
- 3.1.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isLanguageEnabled()
- 3.2.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isLanguageEnabled()
- 3.3.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isLanguageEnabled()
- 3.4.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isLanguageEnabled()
- 3.5.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isLanguageEnabled()
- 3.6.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isLanguageEnabled()
- 3.7.x src/LingotekConfigurationServiceInterface.php \Drupal\lingotek\LingotekConfigurationServiceInterface::isLanguageEnabled()
- 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\lingotekCode
public function isLanguageEnabled(ConfigurableLanguageInterface $language);