views_view_is_enabled(View $view)
Returns whether the view is enabled.
\Drupal\views\Entity\View $view: The view object to check.
bool Returns TRUE if a view is enabled, FALSE otherwise.
function views_view_is_enabled(View $view) { return $view->status(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!views!views.module/function/views_view_is_enabled/8.1.x