function views_ui_edit_page

Page callback for the Edit View page.

1 string reference to 'views_ui_edit_page'
views_ui_menu in ./views_ui.module
Implements hook_menu().

File

includes/admin.inc, line 928

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;
}