protected property StringTranslationTrait::$stringTranslation in Drupal 9
Same name and namespace in other branches
- 8 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;