LanguageInterface::STATE_CONFIGURABLE

The language state when referring to configurable languages. File core/lib/Drupal/Core/Language/LanguageInterface.php, line 57 Class LanguageInterface Defines a language. Namespace Drupal\Core\Language Code const STATE_CONFIGURABLE = 1;

LanguageInterface::STATE_ALL

The language state used when referring to all languages. File core/lib/Drupal/Core/Language/LanguageInterface.php, line 67 Class LanguageInterface Defines a language. Namespace Drupal\Core\Language Code const STATE_ALL = 3;

LanguageInterface::LANGCODE_SYSTEM

Special system language code (only applicable to UI language). Refers to the language used in Drupal and module/theme source code. Drupal uses the built-in text for English by default, but if configured to allow translation/customization of English, we need to differentiate between the built-in language and the English translation. File core/lib/Drupal/Core/Language/LanguageInterface.php, line 18 Class LanguageInterface Defines a language. Namespace Drupal\Core\Language Code const LANG

LanguageInterface::LANGCODE_SITE_DEFAULT

Language code referring to site's default language. File core/lib/Drupal/Core/Language/LanguageInterface.php, line 52 Class LanguageInterface Defines a language. Namespace Drupal\Core\Language Code const LANGCODE_SITE_DEFAULT = 'site_default';

LanguageInterface::LANGCODE_NOT_SPECIFIED

The language code used when no language is explicitly assigned (yet). Should be used when language information is not available or cannot be determined. This special language code is useful when we know the data might have linguistic information, but we don't know the language. See http://www.w3.org/International/questions/qa-no-language#undetermined. File core/lib/Drupal/Core/Language/LanguageInterface.php, line 29 Class LanguageInterface Defines a language. Namespace Drupal\Core\Langu

LanguageInterface::LANGCODE_NOT_APPLICABLE

The language code used when the marked object has no linguistic content. Should be used when we explicitly know that the data referred has no linguistic content. See http://www.w3.org/International/questions/qa-no-language#nonlinguistic. File core/lib/Drupal/Core/Language/LanguageInterface.php, line 39 Class LanguageInterface Defines a language. Namespace Drupal\Core\Language Code const LANGCODE_NOT_APPLICABLE = 'zxx';

LanguageInterface::LANGCODE_DEFAULT

Language code referring to the default language of data, e.g. of an entity. See the BCP 47 syntax for defining private language tags: http://www.rfc-editor.org/rfc/bcp/bcp47.txt File core/lib/Drupal/Core/Language/LanguageInterface.php, line 47 Class LanguageInterface Defines a language. Namespace Drupal\Core\Language Code const LANGCODE_DEFAULT = 'x-default';

LanguageInterface::isLocked

public LanguageInterface::isLocked() Returns whether this language is locked. Return value bool Whether the language is locked or not. File core/lib/Drupal/Core/Language/LanguageInterface.php, line 147 Class LanguageInterface Defines a language. Namespace Drupal\Core\Language Code public function isLocked();

LanguageInterface::isDefault

public LanguageInterface::isDefault() Returns whether this language is the default language. Return value bool Whether the language is the default language. File core/lib/Drupal/Core/Language/LanguageInterface.php, line 139 Class LanguageInterface Defines a language. Namespace Drupal\Core\Language Code public function isDefault();

LanguageInterface::getWeight

public LanguageInterface::getWeight() Gets the weight of the language. Return value int The weight, used to order languages with larger positive weights sinking items toward the bottom of lists. File core/lib/Drupal/Core/Language/LanguageInterface.php, line 131 Class LanguageInterface Defines a language. Namespace Drupal\Core\Language Code public function getWeight();