You are here

function views_analyze_view in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 includes/analyze.inc \views_analyze_view()
  2. 7.3 includes/analyze.inc \views_analyze_view()

Analyze a review and return the results.

Return value

An array of analyze results organized into arrays keyed by 'ok', 'warning' and 'error'.

1 call to views_analyze_view()
views_ui_analyze_view_form in includes/admin.inc
Form constructor callback to display analysis information on a view

File

includes/analyze.inc, line 22
Contains the view analyze tool code.

Code

function views_analyze_view(&$view) {
  $view
    ->init_display();
  $messages = module_invoke_all('views_analyze', $view);
  return $messages;
}