function views_module_include

cis7 views.module views_module_include($api, $reset = FALSE)
cle7 views.module views_module_include($api, $reset = FALSE)
elmsmedia7 views.module views_module_include($api, $reset = FALSE)
icor7 views.module views_module_include($api, $reset = FALSE)
meedjum_blog7 views.module views_module_include($api, $reset = FALSE)
mooc7 views.module views_module_include($api, $reset = FALSE)

Load views files on behalf of modules.

2 calls to views_module_include()
views_get_all_templates in sites/all/modules/ulmus/views/views.module
Get all view templates.
views_include_handlers in sites/all/modules/ulmus/views/views.module
Load views files on behalf of modules.

File

sites/all/modules/ulmus/views/views.module, line 1075
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_module_include($api, $reset = FALSE) {
  if ($reset) {
    $cache = &drupal_static('ctools_plugin_api_info');
    if (isset($cache['views']['views'])) {
      unset($cache['views']['views']);
    }
  }
  ctools_include('plugins');
  return ctools_plugin_api_include('views', $api, views_api_minimum_version(), views_api_version());
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.