function views_analyze_view

3.x analyze.inc views_analyze_view(&$view)
2.x analyze.inc views_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'.

2 calls to views_analyze_view()
drush_views_analyze in drush/views.drush.inc
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;
}