function 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'.
2 calls to views_analyze_view()
- drush_views_analyze in drush/
views.drush.inc - Analyze all installed views.
- 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
Code
function views_analyze_view(&$view) {
$view->init_display();
$messages = module_invoke_all('views_analyze', $view);
return $messages;
}