function LanguageManager::isLanguageLocked
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Language/LanguageManager.php \Drupal\Core\Language\LanguageManager::isLanguageLocked()
- 10 core/lib/Drupal/Core/Language/LanguageManager.php \Drupal\Core\Language\LanguageManager::isLanguageLocked()
- 11.x core/lib/Drupal/Core/Language/LanguageManager.php \Drupal\Core\Language\LanguageManager::isLanguageLocked()
Overrides LanguageManagerInterface::isLanguageLocked
File
-
core/
lib/ Drupal/ Core/ Language/ LanguageManager.php, line 207
Class
- LanguageManager
- Class responsible for providing language support on language-unaware sites.
Namespace
Drupal\Core\LanguageCode
public function isLanguageLocked($langcode) {
$language = $this->getLanguage($langcode);
return $language ? $language->isLocked() : FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.