1 views.module views_view_is_disabled($view)

Returns TRUE if a view is disabled, FALSE otherwise.

File

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

Code

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