function LanguageManagerInterface::getDefaultLockedLanguages
Same name in other branches
- 9 core/lib/Drupal/Core/Language/LanguageManagerInterface.php \Drupal\Core\Language\LanguageManagerInterface::getDefaultLockedLanguages()
- 10 core/lib/Drupal/Core/Language/LanguageManagerInterface.php \Drupal\Core\Language\LanguageManagerInterface::getDefaultLockedLanguages()
- 11.x core/lib/Drupal/Core/Language/LanguageManagerInterface.php \Drupal\Core\Language\LanguageManagerInterface::getDefaultLockedLanguages()
Returns a list of the default locked languages.
Parameters
int $weight: (optional) An integer value that is used as the start value for the weights of the locked languages.
Return value
\Drupal\Core\Language\LanguageInterface[] An array of language objects.
1 method overrides LanguageManagerInterface::getDefaultLockedLanguages()
- LanguageManager::getDefaultLockedLanguages in core/
lib/ Drupal/ Core/ Language/ LanguageManager.php - Returns a list of the default locked languages.
File
-
core/
lib/ Drupal/ Core/ Language/ LanguageManagerInterface.php, line 128
Class
- LanguageManagerInterface
- Common interface for the language manager service.
Namespace
Drupal\Core\LanguageCode
public function getDefaultLockedLanguages($weight = 0);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.