W3cubDocs

/Drupal 8

public function LanguageManagerInterface::getDefaultLockedLanguages

public LanguageManagerInterface::getDefaultLockedLanguages($weight = 0)

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.

File

core/lib/Drupal/Core/Language/LanguageManagerInterface.php, line 128

Class

LanguageManagerInterface
Common interface for the language manager service.

Namespace

Drupal\Core\Language

Code

public function getDefaultLockedLanguages($weight = 0);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Language!LanguageManagerInterface.php/function/LanguageManagerInterface::getDefaultLockedLanguages/8.1.x