function views_ui_edit_page

cis7 admin.inc views_ui_edit_page($view, $display_id = NULL)
cle7 admin.inc views_ui_edit_page($view, $display_id = NULL)
elmsmedia7 admin.inc views_ui_edit_page($view, $display_id = NULL)
icor7 admin.inc views_ui_edit_page($view, $display_id = NULL)
meedjum_blog7 admin.inc views_ui_edit_page($view, $display_id = NULL)
mooc7 admin.inc views_ui_edit_page($view, $display_id = NULL)

Page callback for the Edit View page.

1 string reference to 'views_ui_edit_page'
views_ui_menu in sites/all/modules/ulmus/views/views_ui.module
Implements hook_menu().

File

sites/all/modules/ulmus/views/includes/admin.inc, line 919
Provides the Views' administrative interface.

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'] = drupal_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;
}