You are here

public function XmlSitemapLinkBundleSettingsForm::__construct in XML sitemap 8

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

Constructs a XmlSitemapLinkBundleSettingsForm object.

Parameters

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

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

Overrides ConfigFormBase::__construct

File

src/Form/XmlSitemapLinkBundleSettingsForm.php, line 38

Class

XmlSitemapLinkBundleSettingsForm
Configure what entities will be included in sitemap.

Namespace

Drupal\xmlsitemap\Form

Code

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