You are here

public function SettingsForm::__construct in Simple XML sitemap 4.x

SettingsForm constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory:

\Drupal\simple_sitemap\Manager\Generator $generator:

\Drupal\simple_sitemap\Settings $settings:

\Drupal\simple_sitemap\Form\FormHelper $form_helper:

\Drupal\Core\Language\LanguageManagerInterface $language_manager:

Overrides SimpleSitemapFormBase::__construct

File

src/Form/SettingsForm.php, line 33

Class

SettingsForm
Class SettingsForm

Namespace

Drupal\simple_sitemap\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, Generator $generator, Settings $settings, FormHelper $form_helper, LanguageManagerInterface $language_manager) {
  parent::__construct($config_factory, $generator, $settings, $form_helper);
  $this->languageManager = $language_manager;
}