protected property LanguageRequestSubscriber::$translation in Drupal 9
Same name and namespace in other branches
- 8 core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php \Drupal\language\EventSubscriber\LanguageRequestSubscriber::translation
- 10 core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php \Drupal\language\EventSubscriber\LanguageRequestSubscriber::translation
The translation service.
Type: \Drupal\Core\StringTranslation\Translator\TranslatorInterface
File
- core/
modules/ language/ src/ EventSubscriber/ LanguageRequestSubscriber.php, line 38
Class
- LanguageRequestSubscriber
- Sets the $request property on the language manager.
Namespace
Drupal\language\EventSubscriberCode
protected $translation;