function views_include_default_views

Load default views files on behalf of modules.

1 call to views_include_default_views()
_views_discover_default_views in includes/cache.inc
Scan all modules for default views and rebuild the default views cache.

File

./views.module, line 825

Code

function views_include_default_views($reset = FALSE) {
    static $finished = FALSE;
    // Ensure this only gets run once.
    if ($finished && !$reset) {
        return;
    }
    // Default views hooks may be in the normal handler file,
    // or in a separate views_default file at the discretion of
    // the module author.
    views_include_handlers($reset);
    _views_include_default_views($reset);
    $finished = TRUE;
}