views_menu($may_cache)views_menu()Implementation of hook_menu()
contributions/views/views.module, line 19
<?php
function views_menu($may_cache) {
$items = array();
if ($may_cache) {
views_load_cache();
// Invalidate the views cache to ensure that views data gets rebuilt.
// This is the best way to tell that module configuration has changed.
if (arg(0) == 'admin' && arg(2) == 'modules') {
views_invalidate_cache();
}
views_menu_standard_items($items);
}
else {
views_menu_inline_items($items);
}
return $items;
}
?>