public function SimplesitemapFormBase::__construct in Simple XML sitemap 8.2
Same name and namespace in other branches
- 8.3 src/Form/SimplesitemapFormBase.php \Drupal\simple_sitemap\Form\SimplesitemapFormBase::__construct()
- 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:
\Drupal\simple_sitemap\EntityHelper $entity_helper:
\Drupal\Core\Path\PathValidator $path_validator:
\Drupal\Core\Language\LanguageManagerInterface $language_manager:
Overrides ConfigFormBase::__construct
File
- src/
Form/ SimplesitemapFormBase.php, line 51
Class
- SimplesitemapFormBase
- Class SimplesitemapFormBase @package Drupal\simple_sitemap\Form
Namespace
Drupal\simple_sitemap\FormCode
public function __construct(Simplesitemap $generator, FormHelper $form_helper, EntityHelper $entity_helper, PathValidator $path_validator, LanguageManagerInterface $language_manager) {
$this->generator = $generator;
$this->formHelper = $form_helper;
$this->entityHelper = $entity_helper;
$this->pathValidator = $path_validator;
$this->languageManager = $language_manager;
}