TranslationString::$language

Same name in other branches
  1. 8.9.x core/modules/locale/src/TranslationString.php \Drupal\locale\TranslationString::language
  2. 10 core/modules/locale/src/TranslationString.php \Drupal\locale\TranslationString::language
  3. 11.x core/modules/locale/src/TranslationString.php \Drupal\locale\TranslationString::language

The language code.

Type: string

File

core/modules/locale/src/TranslationString.php, line 19

Class

TranslationString
Defines the locale translation string object.

Namespace

Drupal\locale

Code

public $language;

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