protected property LocaleTranslation::$translations in Drupal 10
Same name and namespace in other branches
- 8 core/modules/locale/src/LocaleTranslation.php \Drupal\locale\LocaleTranslation::translations
- 9 core/modules/locale/src/LocaleTranslation.php \Drupal\locale\LocaleTranslation::translations
Cached translations.
Array of \Drupal\locale\LocaleLookup objects indexed by language code and context.
Type: array
File
- core/
modules/ locale/ src/ LocaleTranslation.php, line 46
Class
- LocaleTranslation
- String translator using the locale module.
Namespace
Drupal\localeCode
protected $translations = [];