protected property LanguageNegotiationUserAdmin::$router in Drupal 9
Same name and namespace in other branches
- 8 core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php \Drupal\user\Plugin\LanguageNegotiation\LanguageNegotiationUserAdmin::router
The router.
This is only used when called from an event subscriber, before the request has been populated with the route info.
Type: \Symfony\Component\Routing\Matcher\UrlMatcherInterface
File
- core/
modules/ user/ src/ Plugin/ LanguageNegotiation/ LanguageNegotiationUserAdmin.php, line 50
Class
- LanguageNegotiationUserAdmin
- Identifies admin language from the user preferences.
Namespace
Drupal\user\Plugin\LanguageNegotiationCode
protected $router;