You are here

public function XmlSitemapRebuildForm::__construct in XML sitemap 8

Same name and namespace in other branches
  1. 2.x src/Form/XmlSitemapRebuildForm.php \Drupal\xmlsitemap\Form\XmlSitemapRebuildForm::__construct()

Constructs a new XmlSitemapRebuildForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\State\StateInterface $state: The state service.

Overrides ConfigFormBase::__construct

File

src/Form/XmlSitemapRebuildForm.php, line 32

Class

XmlSitemapRebuildForm
Configure xmlsitemap settings for this site.

Namespace

Drupal\xmlsitemap\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, StateInterface $state) {
  parent::__construct($config_factory);
  $this->state = $state;
}