W3cubDocs

/Drupal 8

public static property Language::$defaultValues

The values to use to instantiate the default language.

Type: array

File

core/lib/Drupal/Core/Language/Language.php, line 19

Class

Language
An object containing the information for an interface language.

Namespace

Drupal\Core\Language

Code

public static $defaultValues = array(
  'id' => 'en',
  'name' => 'English',
  'direction' => self::DIRECTION_LTR,
  'weight' => 0,
  'locked' => FALSE,
);

© 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!Language.php/property/Language::defaultValues/8.1.x