You are here

public function SimplesitemapSettingsForm::__construct in Simple XML sitemap 8.3

SimplesitemapSettingsForm constructor.

Parameters

\Drupal\simple_sitemap\Simplesitemap $generator:

\Drupal\simple_sitemap\Form\FormHelper $form_helper:

\Drupal\Core\Language\LanguageManagerInterface $language_manager:

Overrides SimplesitemapFormBase::__construct

File

src/Form/SimplesitemapSettingsForm.php, line 28

Class

SimplesitemapSettingsForm
Class SimplesitemapSettingsForm @package Drupal\simple_sitemap\Form

Namespace

Drupal\simple_sitemap\Form

Code

public function __construct(Simplesitemap $generator, FormHelper $form_helper, LanguageManagerInterface $language_manager) {
  parent::__construct($generator, $form_helper);
  $this->languageManager = $language_manager;
}