1 views_ui.admin.inc views_ui_edit_page($view, $display_id = NULL)

Page callback for the Configure View page.

File

core/modules/views_ui/views_ui.admin.inc, line 970
Admin page callbacks for the Views UI module.

Code

function views_ui_edit_page($view, $display_id = NULL) {
  $display_id = views_ui_edit_page_display($view, $display_id);
  if (!in_array($display_id, array(MENU_ACCESS_DENIED, MENU_NOT_FOUND))) {
    $build = array();
    $build['edit_form'] = backdrop_get_form('views_ui_edit_form', $view, $display_id);
    $build['preview'] = views_ui_build_preview($view, $display_id, FALSE);
  }
  else {
    $build = $display_id;
  }

  return $build;
}