public FormBuilder::doSubmitForm(&$form, FormStateInterface &$form_state)
Handles the submitted form, executing callbacks and processing responses.
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
null|\Symfony\Component\HttpFoundation\Response If a response was set by a submit handler, or if the form needs to redirect, a Response object will be returned.
Overrides FormSubmitterInterface::doSubmitForm
public function doSubmitForm(&$form, FormStateInterface &$form_state) { throw new \LogicException('Use FormBuilderInterface::processForm() instead.'); }
© 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!FormBuilder.php/function/FormBuilder::doSubmitForm/8.1.x