You are here

public function DomainLangNegotiationBrowserDeleteForm::__construct in Domain Lang 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\domain_lang\DomainLangHandlerInterface $domain_lang_handler: The domain lang handler.

File

src/Form/DomainLangNegotiationBrowserDeleteForm.php, line 36

Class

DomainLangNegotiationBrowserDeleteForm
Builds a confirmation form to delete a browser language negotiation mapping.

Namespace

Drupal\domain_lang\Form

Code

public function __construct(DomainLangHandlerInterface $domain_lang_handler) {
  $this->domainLangHandler = $domain_lang_handler;
  $this->languageMappingsConfig = $this->domainLangHandler
    ->getDomainConfigName('language.mappings');
}