function views_get_all_views

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

8 calls to views_get_all_views()
GroupwiseMax::buildOptionsForm in drupal/core/modules/views/lib/Drupal/views/Plugin/views/relationship/GroupwiseMax.php
Extends the relationship's basic options, allowing the user to pick a sort and an order for it.
ModuleTest::testLoadFunctions in drupal/core/modules/views/lib/Drupal/views/Tests/ModuleTest.php
Tests the load wrapper/helper functions.
views_block_info in drupal/core/modules/views/views.module
Implement hook_block_info().
views_get_applicable_views in drupal/core/modules/views/views.module
Return a list of all views and display IDs that have a particular setting in their display's plugin settings.
views_get_disabled_views in drupal/core/modules/views/views.module
Returns an array of all disabled views, as fully loaded $view objects.

... See full list

File

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

Code

function views_get_all_views() {
  return entity_get_controller('view')
    ->load();
}