constant LANGUAGE_LOCKED

The language state when referring to locked languages.

7 uses of LANGUAGE_LOCKED
field_language in drupal/core/modules/field/field.multilingual.inc
Returns the display language code for the fields attached to the given entity.
form_test_language_select in drupal/core/modules/system/tests/modules/form_test/form_test.module
Builds a form to test the language select form element.
LanguageListTest::testLanguageStates in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageListTest.php
Functional tests for the language states (locked or configurable).
LanguageSelectElementTest::testLanguageSelectElementOptions in drupal/core/modules/system/lib/Drupal/system/Tests/Form/LanguageSelectElementTest.php
Tests that the options printed by the language select element are correct.
language_list in drupal/core/includes/bootstrap.inc
Returns a list of languages set up on the site.

... See full list

File

drupal/core/includes/bootstrap.inc, line 247
Functions that need to be loaded on every Drupal request.

Code

const LANGUAGE_LOCKED = 2;