public function FormHelper::__construct in Simple XML sitemap 4.x
Same name and namespace in other branches
- 8.3 src/Form/FormHelper.php \Drupal\simple_sitemap\Form\FormHelper::__construct()
- 8.2 src/Form/FormHelper.php \Drupal\simple_sitemap\Form\FormHelper::__construct()
FormHelper constructor.
Parameters
\Drupal\simple_sitemap\Manager\Generator $generator:
\Drupal\simple_sitemap\Settings $settings:
\Drupal\simple_sitemap\Entity\EntityHelper $entityHelper:
\Drupal\Core\Session\AccountProxyInterface $current_user:
File
- src/
Form/ FormHelper.php, line 117
Class
- FormHelper
- Class FormHelper
Namespace
Drupal\simple_sitemap\FormCode
public function __construct(Generator $generator, Settings $settings, EntityHelper $entityHelper, AccountProxyInterface $current_user) {
$this->generator = $generator;
$this->settings = $settings;
$this->entityHelper = $entityHelper;
$this->currentUser = $current_user;
}