1.20.x views.module views_view_is_disabled($view)

Returns TRUE if a view is disabled, FALSE otherwise.

File

modules/views/views.module, line 1418
Primarily Backdrop hooks and global API functions to manipulate views.

Code

function views_view_is_disabled($view) {
  return !empty($view->disabled);
}