function views_get_all_views

Returns an array of all views as fully loaded $view objects.

4 calls to views_get_all_views()

File

drupal/core/modules/views/views.module, line 1011
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_get_all_views() {
  return Drupal::entityManager()
    ->getStorageController('view')
    ->load();
}