LanguageInterface::LANGCODE_SITE_DEFAULT

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::LANGCODE_SITE_DEFAULT
  2. 10 core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::LANGCODE_SITE_DEFAULT
  3. 11.x core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::LANGCODE_SITE_DEFAULT

Language code referring to site's default language.

File

core/lib/Drupal/Core/Language/LanguageInterface.php, line 54

Class

LanguageInterface
Defines an interface for languages.

Namespace

Drupal\Core\Language

Code

const LANGCODE_SITE_DEFAULT = 'site_default';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.