function views_analyze_view
Same name in other branches
- 7.x-3.x 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'.
3 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
- views_ui_import_validate in includes/
admin.inc - Validate handler to import 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;
}