public function LanguageManager::isLanguageLocked in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Language/LanguageManager.php \Drupal\Core\Language\LanguageManager::isLanguageLocked()
- 9 core/lib/Drupal/Core/Language/LanguageManager.php \Drupal\Core\Language\LanguageManager::isLanguageLocked()
File
- core/
lib/ Drupal/ Core/ Language/ LanguageManager.php, line 202
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;
}