function views_ui_analyze_view in Views (for Drupal 7) 6.3
Same name and namespace in other branches
- 6.2 includes/admin.inc \views_ui_analyze_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;
}