Language::$id

Same name in this branch
  1. 11.x core/lib/Drupal/Core/TypedData/Plugin/DataType/Language.php \Drupal\Core\TypedData\Plugin\DataType\Language::id
Same name in other branches
  1. 9 core/lib/Drupal/Core/TypedData/Plugin/DataType/Language.php \Drupal\Core\TypedData\Plugin\DataType\Language::id
  2. 9 core/lib/Drupal/Core/Language/Language.php \Drupal\Core\Language\Language::id
  3. 8.9.x core/lib/Drupal/Core/TypedData/Plugin/DataType/Language.php \Drupal\Core\TypedData\Plugin\DataType\Language::id
  4. 8.9.x core/lib/Drupal/Core/Language/Language.php \Drupal\Core\Language\Language::id
  5. 10 core/lib/Drupal/Core/TypedData/Plugin/DataType/Language.php \Drupal\Core\TypedData\Plugin\DataType\Language::id
  6. 10 core/lib/Drupal/Core/Language/Language.php \Drupal\Core\Language\Language::id

The ID, langcode.

Type: string

File

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

Class

Language
An object containing the information for an interface language.

Namespace

Drupal\Core\Language

Code

protected $id = '';

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