You are here

public function SimplesitemapCustomLinksForm::__construct in Simple XML sitemap 8.3

SimplesitemapCustomLinksForm constructor.

Parameters

\Drupal\simple_sitemap\Simplesitemap $generator:

\Drupal\simple_sitemap\Form\FormHelper $form_helper:

\Drupal\Core\Path\PathValidator $path_validator:

Overrides SimplesitemapFormBase::__construct

File

src/Form/SimplesitemapCustomLinksForm.php, line 27

Class

SimplesitemapCustomLinksForm
Class SimplesitemapCustomLinksForm @package Drupal\simple_sitemap\Form

Namespace

Drupal\simple_sitemap\Form

Code

public function __construct(Simplesitemap $generator, FormHelper $form_helper, PathValidator $path_validator) {
  parent::__construct($generator, $form_helper);
  $this->pathValidator = $path_validator;
}