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