1.20.x views_ui.analyze.inc views_ui_analyze_view(&$view)

Analyze a review and return the results.

Return value

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

File

modules/views_ui/views_ui.analyze.inc, line 20
Contains the view analyze tool code.

Code

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

  return $messages;
}