You are here

function views_ui_build_form in Views (for Drupal 7) 5

separately build a piece of the form

2 calls to views_ui_build_form()
views_ui_add_add_button in ./views_ui.module
Add the 'add' button for a section into the form
views_ui_add_section in ./views_ui.module
Add one of the list sections to the form.

File

./views_ui.module, line 1210

Code

function views_ui_build_form(&$form) {

  // NOT REALLY SURE WHY THIS SORT OF WORKS. IT'S MAGIC THAT CHX POINTED ME TO
  // IN THE POLL MODULE.
  $form['#post'] = $_POST;
  $form = form_builder('views_edit_view', $form);
}