You are here

function views_include_handlers in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 8.3 views.module \views_include_handlers()
  2. 6.2 views.module \views_include_handlers()
  3. 7.3 views.module \views_include_handlers()

Load views files on behalf of modules.

4 calls to views_include_handlers()
views1_import in includes/convert.inc
Convert a Views 1 view to a Views 2 view.
views_include_default_views in ./views.module
Load default views files on behalf of modules.
_views_fetch_data in includes/cache.inc
Fetch Views' data from the cache
_views_fetch_plugin_data in includes/cache.inc
Fetch the plugin data from cache.

File

./views.module, line 807
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_include_handlers($reset = FALSE) {
  static $finished = FALSE;

  // Ensure this only gets run once.
  if ($finished && !$reset) {
    return;
  }
  views_include('base');
  views_include('handlers');
  views_include('cache');
  views_include('plugins');
  _views_include_handlers($reset);
  $finished = TRUE;
}