1.20.x drupal.inc drupal_prepare_form($form_id, &$form, &$form_state)

Prepares a structured form array.

Deprecated

since 1.0.0

See also

backdrop_prepare_form()

Related topics

File

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

Code

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