public function SitemapSettingsForm::__construct in Site map 8
Constructs a SitemapSettingsForm object.
Parameters
\Drupal\Core\Config\ConfigFactory $config_factory: The factory for configuration objects.
\Drupal\Core\Extension\ModuleHandler $module_handler: The module handler.
Overrides ConfigFormBase::__construct
File
- src/
Form/ SitemapSettingsForm.php, line 41
Class
- SitemapSettingsForm
- Provides a configuration form for sitemap.
Namespace
Drupal\site_map\FormCode
public function __construct(ConfigFactory $config_factory, ModuleHandler $module_handler) {
parent::__construct($config_factory);
$this->moduleHandler = $module_handler;
}