function views_ui_analyze_view

Page callback to display analysis information on a view.

1 string reference to 'views_ui_analyze_view'
views_ui_menu in ./views_ui.module

File

includes/admin.inc, line 2012

Code

function views_ui_analyze_view($js, $view) {
    views_include('ajax');
    $form_state = array(
        'view' => &$view,
        'ajax' => $js,
    );
    $output = views_ajax_form_wrapper('views_ui_analyze_view_form', $form_state);
    if ($js) {
        // If we don't have an output object, it was submitted. Set up the submission.
        if (empty($output)) {
            return views_ui_regenerate_tabs($view);
        }
        return views_ajax_render($output);
    }
    return $output;
}