Commit 6695db7d authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2448339 by a_thakur, gaurav_varshney, Mile23: Remove drupal_form_submit() from form.inc

parent 700499c2
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -17,18 +17,6 @@
use Drupal\Core\Url;
use Symfony\Component\HttpFoundation\RedirectResponse;

/**
 * Retrieves, populates, and processes a form.
 *
 * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
 *   Use \Drupal::formBuilder()->submitForm().
 *
 * @see \Drupal\Core\Form\FormBuilderInterface::submitForm().
 */
function drupal_form_submit($form_arg, FormStateInterface $form_state) {
  \Drupal::formBuilder()->submitForm($form_arg, $form_state);
}

/**
 * Prepares variables for select element templates.
 *