Skip to content
Snippets Groups Projects
Commit 9fc078cc authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2385787 by a_thakur: Remove form_state_values_clean() from form.inc

parent 599bad3b
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -30,16 +30,6 @@ function drupal_form_submit($form_arg, FormStateInterface $form_state) { ...@@ -30,16 +30,6 @@ function drupal_form_submit($form_arg, FormStateInterface $form_state) {
\Drupal::formBuilder()->submitForm($form_arg, $form_state); \Drupal::formBuilder()->submitForm($form_arg, $form_state);
} }
/**
* Removes internal Form API elements and buttons from submitted form values.
*
* @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.0.
* Use $form_state->cleanValues().
*/
function form_state_values_clean(FormStateInterface $form_state) {
$form_state->cleanValues();
}
/** /**
* Prepares variables for select element templates. * Prepares variables for select element templates.
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment