function FormSubmitter::__construct

Same name in other branches
  1. 9 core/lib/Drupal/Core/Form/FormSubmitter.php \Drupal\Core\Form\FormSubmitter::__construct()
  2. 8.9.x core/lib/Drupal/Core/Form/FormSubmitter.php \Drupal\Core\Form\FormSubmitter::__construct()
  3. 10 core/lib/Drupal/Core/Form/FormSubmitter.php \Drupal\Core\Form\FormSubmitter::__construct()

Constructs a new FormSubmitter.

Parameters

\Symfony\Component\HttpFoundation\RequestStack $requestStack: The request stack.

\Drupal\Core\Routing\UrlGeneratorInterface $urlGenerator: The URL generator.

\Drupal\Core\EventSubscriber\RedirectResponseSubscriber $redirectResponseSubscriber: The redirect response subscriber.

File

core/lib/Drupal/Core/Form/FormSubmitter.php, line 27

Class

FormSubmitter
Provides submission processing for forms.

Namespace

Drupal\Core\Form

Code

public function __construct(RequestStack $requestStack, UrlGeneratorInterface $urlGenerator, RedirectResponseSubscriber $redirectResponseSubscriber) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.