function views_get_all_views
3.x views.module | views_get_all_views($reset = FALSE) |
2.x views.module | views_get_all_views($reset = FALSE) |
Return an array of all views as fully loaded $view objects.
Parameters
$reset: If TRUE, reset the static cache forcing views to be reloaded.
14 calls to views_get_all_views()
- drush_views_analyze in drush/
views.drush.inc - drush_views_list in drush/
views.drush.inc - Callback function for views-list command.
- ViewsAnalyzeTest::setUp in tests/
views_analyze.test - Sets up a Drupal site for running functional and integration tests.
- ViewsExposedFormTest::setUp in tests/
views_exposed_form.test - Sets up a Drupal site for running functional and integration tests.
- ViewsSqlTest::enableViewsUi in tests/
views_query.test - This function allows to enable views ui from a higher class which can't change the setup function anymore.
File
- ./
views.module, line 1429 - Primarily Drupal hooks and global API functions to manipulate views.
Code
function views_get_all_views($reset = FALSE) {
ctools_include('export');
return ctools_export_crud_load_all('views_view', $reset);
}