NegotiationBrowserForm::__construct

public NegotiationBrowserForm::__construct(ConfigFactoryInterface $config_factory, ConfigurableLanguageManagerInterface $language_manager)

Parameters

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

Overrides ConfigFormBase::__construct

File

core/modules/language/src/Form/NegotiationBrowserForm.php, line 30

Class

NegotiationBrowserForm
Configure the browser language negotiation method for this site.

Namespace

Drupal\language\Form

Code

1
2
3
4
public function __construct(ConfigFactoryInterface $config_factory, ConfigurableLanguageManagerInterface $language_manager) {
  parent::__construct($config_factory);
  $this->languageManager = $language_manager;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.