public function FormSubmitter::__construct
public FormSubmitter::__construct(RequestStack $request_stack, UrlGeneratorInterface $url_generator)
Constructs a new FormValidator.
Parameters
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.
\Drupal\Core\Routing\UrlGeneratorInterface $url_generator:
File
- core/lib/Drupal/Core/Form/FormSubmitter.php, line 37
Class
- FormSubmitter
- Provides submission processing for forms.
Namespace
Drupal\Core\FormCode
public function __construct(RequestStack $request_stack, UrlGeneratorInterface $url_generator) { $this->requestStack = $request_stack; $this->urlGenerator = $url_generator; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!FormSubmitter.php/function/FormSubmitter::__construct/8.1.x