Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LanguageNegotiationUserAdmin.php

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 52

Class

LanguageNegotiationUserAdmin
Identifies admin language from the user preferences.

Namespace

Drupal\user\Plugin\LanguageNegotiation

Code

protected $router;
RSS feed
Powered by Drupal