public function NegotiationUrlForm::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/language/src/Form/NegotiationUrlForm.php \Drupal\language\Form\NegotiationUrlForm::__construct()
Constructs a new LanguageDeleteForm 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 38 - Contains \Drupal\language\Form\NegotiationUrlForm.
Class
- NegotiationUrlForm
- Configure the URL language negotiation method for this site.
Namespace
Drupal\language\FormCode
public function __construct(ConfigFactoryInterface $config_factory, LanguageManagerInterface $language_manager) {
parent::__construct($config_factory);
$this->languageManager = $language_manager;
}