function views_view_is_disabled

Returns TRUE if a view is disabled, FALSE otherwise.

1 string reference to 'views_view_is_disabled'
views_get_disabled_views in ./views.module
Returns an array of all disabled views, as fully loaded $view objects.

File

./views.module, line 1716

Code

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