StringTranslationTrait::$stringTranslation
Same name in other branches
- 9 core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php \Drupal\Core\StringTranslation\StringTranslationTrait::stringTranslation
- 8.9.x core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php \Drupal\Core\StringTranslation\StringTranslationTrait::stringTranslation
- 10 core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php \Drupal\Core\StringTranslation\StringTranslationTrait::stringTranslation
The string translation service.
Type: \Drupal\Core\StringTranslation\TranslationInterface
File
-
core/
lib/ Drupal/ Core/ StringTranslation/ StringTranslationTrait.php, line 29
Class
- StringTranslationTrait
- Wrapper methods for \Drupal\Core\StringTranslation\TranslationInterface.
Namespace
Drupal\Core\StringTranslationCode
protected $stringTranslation;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.