views_include

Versions
6 – 7
views_include($file)

Include views .inc files as necessary.

▾ 30 functions call views_include()

drupal_build_form in contributions/views/views.module
Views' replacement for drupal_get_form so that we can do more with less.
features_detect_overrides in contributions/features/features.export.inc
Detect differences between DB and code components of a feature.
nodecomment_form_node_type_form in contributions/nodecomment/nodecomment.module
Implementation of hook_form_node_type_form_alter().
template_preprocess_views_ui_edit_view in contributions/views/includes/admin.inc
Preprocess the view edit page.
views_ajax in contributions/views/includes/ajax.inc
Menu callback to load a view via AJAX.
views_bulk_operations_update_6000 in contributions/views_bulk_operations/views_bulk_operations.install
Implementation of hook_update_N().
views_content_views_content_type_content_types in contributions/ctools/views_content/plugins/content_types/views.inc
Return all content types available.
views_content_views_panes_content_type_content_types in contributions/ctools/views_content/plugins/content_types/views_panes.inc
Return all content types available.
views_discover_default_views in contributions/views/views.module
Scan all modules for default views and rebuild the default views cache.
views_features_export in contributions/features/includes/features.views.inc
Implementation of hook_features_export().
views_features_revert in contributions/features/includes/features.views.inc
Implementation of hook_features_revert().
views_fetch_data in contributions/views/views.module
Fetch Views' data from the cache
views_fetch_plugin_data in contributions/views/views.module
Fetch the plugin data from cache.
views_get_all_views in contributions/views/views.module
Return an array of all views as fully loaded $view objects.
views_get_default_view in contributions/views/views.module
Get a view from the default views defined by modules.
views_get_view in contributions/views/views.module
Get a view from the database or from default views.
views_include_handlers in contributions/views/views.module
Load views files on behalf of modules.
views_new_view in contributions/views/views.module
Create an empty view to work with.
views_ui_add_display in contributions/views/includes/admin.inc
AJAX callback to add a display.
views_ui_ajax_form in contributions/views/includes/admin.inc
Generic entry point to handle forms.
views_ui_analyze_view in contributions/views/includes/admin.inc
Page callback to display analysis information on a view.
views_ui_analyze_view_form in contributions/views/includes/admin.inc
Form constructor callback to display analysis information on a view
views_ui_autocomplete_tag in contributions/views/includes/admin.inc
Page callback for views tag autocomplete
views_ui_cache_load in contributions/views/views_ui.module
Specialized menu callback to load a view either out of the cache or just load it.
views_ui_cache_set in contributions/views/views_ui.module
Specialized cache function to add a flag to our view, include an appropriate include, and cache more easily.
views_ui_edit_details in contributions/views/includes/admin.inc
Page callback to edit details of a view.
views_ui_import_validate in contributions/views/includes/admin.inc
Validate handler to import a view
views_ui_preview in contributions/views/includes/admin.inc
Page callback for the live preview.
_views_bulk_operations_batch_process in contributions/views_bulk_operations/views_bulk_operations.module
Batch API operations.
_views_bulk_operations_queue_process in contributions/views_bulk_operations/views_bulk_operations.module
Job Queue operations.

Code

contributions/views/views.module, line 514

<?php
function views_include($file) {
  static $used = array();
  if (!isset($used[$file])) {
    require_once './' . drupal_get_path('module', 'views') . "/includes/$file.inc";
  }

  $used[$file] = TRUE;
}
?>