You are here

protected property StringTranslationTrait::$stringTranslation in Drupal 9

Same name and namespace in other branches
  1. 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\StringTranslation

Code

protected $stringTranslation;