function views_get_all_views
Return an array of all views as fully loaded $view objects.
Parameters
bool $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 - Analyze all installed views.
- 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 1604
Code
function views_get_all_views($reset = FALSE) {
ctools_include('export');
return ctools_export_crud_load_all('views_view', $reset);
}