function views_get_enabled_views

Returns an array of all enabled views, as fully loaded $view objects.

1 call to views_get_enabled_views()
views_plugin_list in ./views.module
Returns a list of plugins and metadata about them.

File

./views.module, line 1612

Code

function views_get_enabled_views() {
    $views = views_get_all_views();
    return array_filter($views, 'views_view_is_enabled');
}