1.20.x drupal.inc drupal_rebuild_form($form_id, &$form_state, $old_form = NULL)

Constructs a new $form from the information in $form_state.

Deprecated

since 1.0.0

See also

backdrop_rebuild_form()

Related topics

File

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

Code

function drupal_rebuild_form($form_id, &$form_state, $old_form = NULL) {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  return backdrop_rebuild_form($form_id, $form_state, $old_form);
}