You are here

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

CustomLinksForm 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\Path\PathValidator $path_validator:

Overrides SimpleSitemapFormBase::__construct

File

src/Form/CustomLinksForm.php, line 32

Class

CustomLinksForm
Class CustomLinksForm

Namespace

Drupal\simple_sitemap\Form

Code

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