LanguageInterface::STATE_LOCKED |
constant |
core/lib/Drupal/Core/Language/LanguageInterface.php |
The language state when referring to locked languages. |
LanguageInterface::STATE_SITE_DEFAULT |
constant |
core/lib/Drupal/Core/Language/LanguageInterface.php |
The language state used when referring to the site's default language. |
LanguageInterface::TYPE_CONTENT |
constant |
core/lib/Drupal/Core/Language/LanguageInterface.php |
The type of language used to define the content language. |
LanguageInterface::TYPE_INTERFACE |
constant |
core/lib/Drupal/Core/Language/LanguageInterface.php |
The type of language used to select the user interface. |
LanguageInterface::TYPE_URL |
constant |
core/lib/Drupal/Core/Language/LanguageInterface.php |
The type of language used for URLs. |
LanguageInterface::VALID_LANGCODE_REGEX |
constant |
core/lib/Drupal/Core/Language/LanguageInterface.php |
A regex for validating language codes according to W3C specifications. |
LanguageItem |
class |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php |
Defines the 'language' entity field item. |
LanguageItem.php |
file |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php |
|
LanguageItem::applyDefaultValue |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php |
Applies the default value. |
LanguageItem::generateSampleValue |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php |
Generates placeholder field values. |
LanguageItem::getPossibleOptions |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php |
Returns an array of possible values with labels for display. |
LanguageItem::getPossibleValues |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php |
Returns an array of possible values. |
LanguageItem::getSettableOptions |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php |
Returns an array of settable values with labels for display. |
LanguageItem::getSettableValues |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php |
Returns an array of settable values. |
LanguageItem::onChange |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php |
React to changes to a child property or item. |
LanguageItem::propertyDefinitions |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php |
Defines field item properties. |
LanguageItem::schema |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php |
Returns the schema for the field. |
LanguageItem::setValue |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/LanguageItem.php |
Overrides \Drupal\Core\TypedData\TypedData::setValue(). |
LanguageListBuilder |
class |
core/modules/language/src/LanguageListBuilder.php |
Defines a class to build a listing of language entities. |
LanguageListBuilder.php |
file |
core/modules/language/src/LanguageListBuilder.php |
|
LanguageListBuilder::$configFactory |
property |
core/modules/language/src/LanguageListBuilder.php |
The configuration factory. |
LanguageListBuilder::$entitiesKey |
property |
core/modules/language/src/LanguageListBuilder.php |
The key to use for the form element containing the entities. |
LanguageListBuilder::$languageManager |
property |
core/modules/language/src/LanguageListBuilder.php |
The language manager. |
LanguageListBuilder::$messenger |
property |
core/modules/language/src/LanguageListBuilder.php |
The messenger. |
LanguageListBuilder::buildForm |
function |
core/modules/language/src/LanguageListBuilder.php |
Form constructor. |
LanguageListBuilder::buildHeader |
function |
core/modules/language/src/LanguageListBuilder.php |
Builds the header row for the entity listing. |
LanguageListBuilder::buildRow |
function |
core/modules/language/src/LanguageListBuilder.php |
Builds a row for an entity in the entity listing. |
LanguageListBuilder::createInstance |
function |
core/modules/language/src/LanguageListBuilder.php |
Instantiates a new instance of this entity handler. |
LanguageListBuilder::getFormId |
function |
core/modules/language/src/LanguageListBuilder.php |
Returns a unique string identifying the form. |
LanguageListBuilder::load |
function |
core/modules/language/src/LanguageListBuilder.php |
Loads entities of this type from storage for listing. |
LanguageListBuilder::submitForm |
function |
core/modules/language/src/LanguageListBuilder.php |
Form submission handler. |
LanguageListBuilder::validateForm |
function |
core/modules/language/src/LanguageListBuilder.php |
Form validation handler. |
LanguageListBuilder::__construct |
function |
core/modules/language/src/LanguageListBuilder.php |
Constructs a new LanguageListBuilder object. |
LanguageListModuleInstallTest |
class |
core/modules/language/tests/src/Functional/LanguageListModuleInstallTest.php |
Tests that the language list is not empty when language is installed. |
LanguageListModuleInstallTest.php |
file |
core/modules/language/tests/src/Functional/LanguageListModuleInstallTest.php |
|
LanguageListModuleInstallTest::$defaultTheme |
property |
core/modules/language/tests/src/Functional/LanguageListModuleInstallTest.php |
The theme to install as the default for testing. |
LanguageListModuleInstallTest::$modules |
property |
core/modules/language/tests/src/Functional/LanguageListModuleInstallTest.php |
Modules to install. |
LanguageListModuleInstallTest::testModuleInstallLanguageList |
function |
core/modules/language/tests/src/Functional/LanguageListModuleInstallTest.php |
Tests enabling Language. |
LanguageListTest |
class |
core/modules/language/tests/src/Functional/LanguageListTest.php |
Adds a new language and tests changing its status and the default language. |
LanguageListTest.php |
file |
core/modules/language/tests/src/Functional/LanguageListTest.php |
|
LanguageListTest::$defaultTheme |
property |
core/modules/language/tests/src/Functional/LanguageListTest.php |
The theme to install as the default for testing. |
LanguageListTest::$modules |
property |
core/modules/language/tests/src/Functional/LanguageListTest.php |
Modules to install. |
LanguageListTest::testLanguageList |
function |
core/modules/language/tests/src/Functional/LanguageListTest.php |
Functional tests for adding, editing and deleting languages. |
LanguageListTest::testLanguageStates |
function |
core/modules/language/tests/src/Functional/LanguageListTest.php |
Functional tests for the language states (locked or configurable). |
LanguageLocaleListTest |
class |
core/modules/language/tests/src/Functional/LanguageLocaleListTest.php |
Adds a new language with translations and tests language list order. |
LanguageLocaleListTest.php |
file |
core/modules/language/tests/src/Functional/LanguageLocaleListTest.php |
|
LanguageLocaleListTest::$defaultTheme |
property |
core/modules/language/tests/src/Functional/LanguageLocaleListTest.php |
The theme to install as the default for testing. |
LanguageLocaleListTest::$modules |
property |
core/modules/language/tests/src/Functional/LanguageLocaleListTest.php |
Modules to install. |
LanguageLocaleListTest::$storage |
property |
core/modules/language/tests/src/Functional/LanguageLocaleListTest.php |
|
LanguageLocaleListTest::setUp |
function |
core/modules/language/tests/src/Functional/LanguageLocaleListTest.php |
|