public function SimpleSitemapFormBase::__construct in Simple XML sitemap 4.x
Same name and namespace in other branches
- 8.3 src/Form/SimplesitemapFormBase.php \Drupal\simple_sitemap\Form\SimplesitemapFormBase::__construct()
- 8.2 src/Form/SimplesitemapFormBase.php \Drupal\simple_sitemap\Form\SimplesitemapFormBase::__construct()
SimpleSitemapFormBase constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory:
\Drupal\simple_sitemap\Manager\Generator $generator:
\Drupal\simple_sitemap\Settings $settings:
\Drupal\simple_sitemap\Form\FormHelper $form_helper:
Overrides ConfigFormBase::__construct
3 calls to SimpleSitemapFormBase::__construct()
- CustomLinksForm::__construct in src/
Form/ CustomLinksForm.php - CustomLinksForm constructor.
- SettingsForm::__construct in src/
Form/ SettingsForm.php - SettingsForm constructor.
- StatusForm::__construct in src/
Form/ StatusForm.php - SitemapsForm constructor.
3 methods override SimpleSitemapFormBase::__construct()
- CustomLinksForm::__construct in src/
Form/ CustomLinksForm.php - CustomLinksForm constructor.
- SettingsForm::__construct in src/
Form/ SettingsForm.php - SettingsForm constructor.
- StatusForm::__construct in src/
Form/ StatusForm.php - SitemapsForm constructor.
File
- src/
Form/ SimpleSitemapFormBase.php, line 39
Class
- SimpleSitemapFormBase
- Class SimpleSitemapFormBase
Namespace
Drupal\simple_sitemap\FormCode
public function __construct(ConfigFactoryInterface $config_factory, Generator $generator, Settings $settings, FormHelper $form_helper) {
$this->generator = $generator;
$this->settings = $settings;
$this->formHelper = $form_helper;
parent::__construct($config_factory);
}