function views_ui_analyze_view
2.x admin.inc | views_ui_analyze_view($js, $view) |
Page callback to display analysis information on a view.
1 string reference to 'views_ui_analyze_view'
File
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;
}