LanguageInterface::LANGCODE_NOT_APPLICABLE

Same name in other branches
  1. 9 core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::LANGCODE_NOT_APPLICABLE
  2. 8.9.x core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\LanguageInterface::LANGCODE_NOT_APPLICABLE
  3. 10 core/lib/Drupal/Core/Language/LanguageInterface.php \Drupal\Core\Language\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 https://www.w3.org/International/questions/qa-no-language#nonlinguistic.

File

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

Class

LanguageInterface
Defines an interface for languages.

Namespace

Drupal\Core\Language

Code

const LANGCODE_NOT_APPLICABLE = 'zxx';

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