1.20.x views.module views_get_disabled_views()

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

File

modules/views/views.module, line 1325
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');
}