function hook_views_pre_view
Same name in other branches
- 7.x-3.x views.api.php \hook_views_pre_view()
This hook is called at the very beginning of views processing, before anything is done.
Adding output to the view can be accomplished by placing text on $view->attachment_before and $view->attachment_after.
Related topics
1 invocation of hook_views_pre_view()
- view::pre_execute in includes/
view.inc - Run attachments and let the display do what it needs to do prior to running.
File
-
docs/
docs.php, line 627
Code
function hook_views_pre_view(&$view, &$display_id, &$args) {
// example code here
}