You are here

public function SimplesitemapFormBase::__construct in Simple XML sitemap 8.3

Same name and namespace in other branches
  1. 8.2 src/Form/SimplesitemapFormBase.php \Drupal\simple_sitemap\Form\SimplesitemapFormBase::__construct()
  2. 4.x src/Form/SimpleSitemapFormBase.php \Drupal\simple_sitemap\Form\SimpleSitemapFormBase::__construct()

SimplesitemapFormBase constructor.

Parameters

\Drupal\simple_sitemap\Simplesitemap $generator:

\Drupal\simple_sitemap\Form\FormHelper $form_helper:

Overrides ConfigFormBase::__construct

4 calls to SimplesitemapFormBase::__construct()
SimplesitemapCustomLinksForm::__construct in src/Form/SimplesitemapCustomLinksForm.php
SimplesitemapCustomLinksForm constructor.
SimplesitemapEntitiesForm::__construct in src/Form/SimplesitemapEntitiesForm.php
SimplesitemapEntitiesForm constructor.
SimplesitemapSettingsForm::__construct in src/Form/SimplesitemapSettingsForm.php
SimplesitemapSettingsForm constructor.
SimplesitemapSitemapsForm::__construct in src/Form/SimplesitemapSitemapsForm.php
SimplesitemapSitemapsForm constructor.
4 methods override SimplesitemapFormBase::__construct()
SimplesitemapCustomLinksForm::__construct in src/Form/SimplesitemapCustomLinksForm.php
SimplesitemapCustomLinksForm constructor.
SimplesitemapEntitiesForm::__construct in src/Form/SimplesitemapEntitiesForm.php
SimplesitemapEntitiesForm constructor.
SimplesitemapSettingsForm::__construct in src/Form/SimplesitemapSettingsForm.php
SimplesitemapSettingsForm constructor.
SimplesitemapSitemapsForm::__construct in src/Form/SimplesitemapSitemapsForm.php
SimplesitemapSitemapsForm constructor.

File

src/Form/SimplesitemapFormBase.php, line 30

Class

SimplesitemapFormBase
Class SimplesitemapFormBase @package Drupal\simple_sitemap\Form

Namespace

Drupal\simple_sitemap\Form

Code

public function __construct(Simplesitemap $generator, FormHelper $form_helper) {
  $this->generator = $generator;
  $this->formHelper = $form_helper;
}