You are here

public function NegotiationLanguageCookieForm::__construct in Language Cookie 8

NegotiationLanguageCookieForm constructor.

Parameters

\Drupal\Core\Executable\ExecutableManagerInterface $plugin_manager: The plugin manager.

Overrides ConfigFormBase::__construct

File

src/Form/NegotiationLanguageCookieForm.php, line 35

Class

NegotiationLanguageCookieForm
Configure the Language cookie negotiation method for this site.

Namespace

Drupal\language_cookie\Form

Code

public function __construct(ExecutableManagerInterface $plugin_manager) {
  parent::__construct($this
    ->configFactory());
  $this->languageCookieConditionManager = $plugin_manager;
}