function drupal_build_form

Views' replacement for drupal_get_form so that we can do more with less.

Items that can be set on the form_state include:

  • input: The source of input. If unset this will be $_POST.
  • no_redirect: Absolutely do not redirect the form even if instructed to do so.
  • rerender: If no_redirect is set and the form was successfully submitted, rerender the form. Otherwise it will just return.
9 calls to drupal_build_form()
template_preprocess_views_ui_edit_tab in includes/admin.inc
template_preprocess_views_ui_edit_view in includes/admin.inc
Preprocess the view edit page.
template_preprocess_views_ui_list_views in includes/admin.inc
Preprocess the list views theme
views_ajax_form_wrapper in includes/ajax.inc
Wrapper around drupal_build_form to handle some AJAX stuff automatically. This makes some assumptions about the client.
views_export_export in views_export/views_export.module
Page callback to export views in bulk.

... See full list

File

./views.module, line 1551

Code

function drupal_build_form($form_id, &$form_state) {
    views_include('form');
    return _drupal_build_form($form_id, $form_state);
}