FormSubmitter::doSubmitForm

public function FormSubmitter::doSubmitForm

public FormSubmitter::doSubmitForm(&$form, FormStateInterface &$form_state)

Handles the submitted form, executing callbacks and processing responses.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Return value

null|\Symfony\Component\HttpFoundation\Response If a response was set by a submit handler, or if the form needs to redirect, a 登录查看完整内容