You are here

public function NegotiationBrowserForm::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/language/src/Form/NegotiationBrowserForm.php \Drupal\language\Form\NegotiationBrowserForm::__construct()

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler

Overrides ConfigFormBase::__construct

File

core/modules/language/src/Form/NegotiationBrowserForm.php, line 35
Contains \Drupal\language\Form\NegotiationBrowserForm.

Class

NegotiationBrowserForm
Configure the browser language negotiation method for this site.

Namespace

Drupal\language\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ConfigurableLanguageManagerInterface $language_manager) {
  parent::__construct($config_factory);
  $this->languageManager = $language_manager;
}