1 views.module views_view_is_enabled($view)

Returns TRUE if a view is enabled, FALSE otherwise.

File

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

Code

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