1 drupal.inc drupal_validate_form($form_id, &$form, &$form_state)

Validates user-submitted form data in the $form_state array.

Deprecated

since 1.0.0

See also

backdrop_validate_form()

Related topics

File

core/includes/drupal.inc, line 1807
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_validate_form($form_id, &$form, &$form_state) {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  backdrop_validate_form($form_id, $form, $form_state);
}