function views_include_handlers in Views (for Drupal 7) 8.3
Same name and namespace in other branches
- 6.3 views.module \views_include_handlers()
- 6.2 views.module \views_include_handlers()
- 7.3 views.module \views_include_handlers()
Load views files on behalf of modules.
2 calls to views_include_handlers()
- ViewUI::buildAddForm in views_ui/
lib/ Drupal/ views_ui/ ViewUI.php - _views_fetch_data_build in includes/
cache.inc - Build, set the views data cache if empty and return the views data.
File
- ./
views.module, line 1254 - 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('cache');
views_module_include();
$finished = TRUE;
}