summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-08-18 15:03:15 (GMT)
committerAlex Pott2014-08-18 15:03:15 (GMT)
commit7e23170de4e729576b6240581f143279d129235d (patch)
treef4512358b65ac7c5bc93d2a31c1a82067c9a0eaf
parent8d5713791e6dda8ac4a897f14485655c292284cb (diff)
Issue #2300875 by joshi.rohit100, amitgoyal, penyaskito: Remove drupal_redirect_form() as it is deprecated.
-rw-r--r--core/includes/form.inc12
1 files changed, 0 insertions, 12 deletions
diff --git a/core/includes/form.inc b/core/includes/form.inc
index 0f19ca2..859c0ce 100644
--- a/core/includes/form.inc
+++ b/core/includes/form.inc
@@ -117,18 +117,6 @@ function drupal_process_form($form_id, &$form, FormStateInterface $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.
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.