Commit 7e23170d authored by alexpott's avatar alexpott

Issue #2300875 by joshi.rohit100, amitgoyal, penyaskito: Remove...

Issue #2300875 by joshi.rohit100, amitgoyal, penyaskito: Remove drupal_redirect_form() as it is deprecated.
parent 8d571379
......@@ -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.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment