public function SimplesitemapEnginesForm::__construct in Simple XML sitemap 4.x
Same name and namespace in other branches
- 8.3 modules/simple_sitemap_engines/src/Form/SimplesitemapEnginesForm.php \Drupal\simple_sitemap_engines\Form\SimplesitemapEnginesForm::__construct()
SimplesitemapEnginesForm constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.
\Drupal\Core\Datetime\DateFormatter $date_formatter: The date formatter service.
Overrides ConfigFormBase::__construct
File
- modules/
simple_sitemap_engines/ src/ Form/ SimplesitemapEnginesForm.php, line 44
Class
- SimplesitemapEnginesForm
- Form for managing search engine submission settings.
Namespace
Drupal\simple_sitemap_engines\FormCode
public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager, DateFormatter $date_formatter) {
parent::__construct($config_factory);
$this->entityTypeManager = $entity_type_manager;
$this->dateFormatter = $date_formatter;
}