1 drupal.inc drupal_get_form()

Returns a renderable form array for a given form ID.

Deprecated

since 1.0.0

See also

backdrop_get_form()

Related topics

File

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

Code

function drupal_get_form() {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  $args = func_get_args(); // pass $args to form function
  return call_user_func_array('backdrop_get_form', $args);
}