LanguageRequestSubscriber::$negotiator

The language negotiator.

Type: \Drupal\language\LanguageNegotiatorInterface

File

core/modules/language/src/EventSubscriber/LanguageRequestSubscriber.php, line 31

Class

LanguageRequestSubscriber
Sets the $request property on the language manager.

Namespace

Drupal\language\EventSubscriber

Code

protected $negotiator;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.