1.12.x drupal.inc drupal_build_form($form_id, &$form_state)
1.10.x drupal.inc drupal_build_form($form_id, &$form_state)
1.11.x drupal.inc drupal_build_form($form_id, &$form_state)
1.7.x drupal.inc drupal_build_form($form_id, &$form_state)

Builds and processes a form for a given form ID.

Deprecated

since 1.0.0

See also

backdrop_build_form()

Related topics

File

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

Code

function drupal_build_form($form_id, &$form_state) {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  return backdrop_build_form($form_id, $form_state);
}