function context_ui_contrib_views_pre_query in Context 5
Implementation of hook_views_pre_query().
File
- context_ui/
context_ui_contrib.module, line 78
Code
function context_ui_contrib_views_pre_query($view) {
if ($view->build_type == 'page') {
context_ui_set('views', $view->name);
}
}