public function SitemapSettingsForm::__construct in Sitemap 8.2
Same name and namespace in other branches
- 8 src/Form/SitemapSettingsForm.php \Drupal\sitemap\Form\SitemapSettingsForm::__construct()
- 2.0.x src/Form/SitemapSettingsForm.php \Drupal\sitemap\Form\SitemapSettingsForm::__construct()
Constructs a SitemapSettingsForm object.
Parameters
\Drupal\Core\Config\ConfigFactory $config_factory: The factory for configuration objects.
\Drupal\sitemap\SitemapManager $sitemap_manager: The Sitemap plugin manager.
Overrides ConfigFormBase::__construct
File
- src/
Form/ SitemapSettingsForm.php, line 40
Class
- SitemapSettingsForm
- Provides a configuration form for sitemap.
Namespace
Drupal\sitemap\FormCode
public function __construct(ConfigFactory $config_factory, SitemapManager $sitemap_manager) {
parent::__construct($config_factory);
$this->sitemapManager = $sitemap_manager;
}