1 views.module | views_get_disabled_views() |
Returns an array of all disabled views, as fully loaded $view objects.
File
- core/
modules/ views/ views.module, line 1364 - Primarily Backdrop hooks and global API functions to manipulate views.
Code
function views_get_disabled_views() {
$views = views_get_all_views();
return array_filter($views, 'views_view_is_disabled');
}