1.16.x drupal.inc drupal_build_form($form_id, &$form_state)
1.16.x drupal.inc drupal_build_form($form_id, &$form_state)
1.12.x drupal.inc drupal_build_form($form_id, &$form_state)
1.15.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.13.x drupal.inc drupal_build_form($form_id, &$form_state)
1.8.x drupal.inc drupal_build_form($form_id, &$form_state)
1.9.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);
}