| 6 docs.php | hook_views_query_alter(&$view, &$query) |
| 7 views.api.php | hook_views_query_alter(&$view, &$query) |
Stub hook documentation
This hook should be placed in MODULENAME.views.inc and it will be auto-loaded. This must either be in the same directory as the .module file or in a subdirectory named 'includes'.
function hook_views_query_alter(&$view, &$query) {
// example code here
}