constant LANGUAGE_DEFAULT

Language code referring to the default language of data, e.g. of an entity.

@todo: Change value to differ from LANGUAGE_NOT_SPECIFIED once field API leverages the property API.

6 uses of LANGUAGE_DEFAULT
Entity::access in drupal/core/lib/Drupal/Core/Entity/Entity.php
Implements AccessibleInterface::access().
EntityNG::get in drupal/core/lib/Drupal/Core/Entity/EntityNG.php
Implements ComplexDataInterface::get().
EntityNG::getTranslatedField in drupal/core/lib/Drupal/Core/Entity/EntityNG.php
Gets a translated field.
EntityNG::getTranslation in drupal/core/lib/Drupal/Core/Entity/EntityNG.php
Implements TranslatableInterface::getTranslation().
EntityTestAccessController::viewAccess in drupal/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/EntityTestAccessController.php
Implements EntityAccessControllerInterface::view().

... See full list

File

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

Code

const LANGUAGE_DEFAULT = 'und';