NegotiationUrlForm::__construct

public NegotiationUrlForm::__construct(ConfigFactoryInterface $config_factory, LanguageManagerInterface $language_manager)

Constructs a new NegotiationUrlForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

Overrides ConfigFormBase::__construct

File

core/modules/language/src/Form/NegotiationUrlForm.php, line 33

Class

NegotiationUrlForm
Configure the URL language negotiation method for this site.

Namespace

Drupal\language\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, LanguageManagerInterface $language_manager) {
  parent::__construct($config_factory);
  $this->languageManager = $language_manager;
}
doc_Drupal
2016-10-29 09:30:07
Comments
Leave a Comment

Please login to continue.