diff --git a/core/includes/form.inc b/core/includes/form.inc index 0f19ca2f793bf22bfc6143ba6daeb61eac92436d..859c0ce5027a6b0200f95590de11253ad84e910f 100644 --- a/core/includes/form.inc +++ b/core/includes/form.inc @@ -116,18 +116,6 @@ function drupal_process_form($form_id, &$form, FormStateInterface $form_state) { \Drupal::formBuilder()->processForm($form_id, $form, $form_state); } -/** - * Redirects the user to a URL after a form has been processed. - * - * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0. - * Use \Drupal::service('form_submitter')->redirectForm(). - * - * @see \Drupal\Core\Form\FormSubmitterInterface::redirectForm(). - */ -function drupal_redirect_form(FormStateInterface $form_state) { - return \Drupal::service('form_submitter')->redirectForm($form_state); -} - /** * Executes custom validation and submission handlers for a given form. *