Loading core/includes/form.inc +0 −12 Original line number Diff line number Diff line Loading @@ -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. * Loading Loading
core/includes/form.inc +0 −12 Original line number Diff line number Diff line Loading @@ -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. * Loading