\hook_views_pre_build
function
Called after the display's pre_execute phase but before the build process.

Called after the display's pre_execute phase but before the build process.

Adding output to the view can be accomplished by placing text on $view->attachment_before and $view->attachment_after.

Comments

phponwebsites’s picture

I want to pass arguments like page=2 from views pager to url.
I tried to use hook_views_pre_build(). But i didn't know how to pass arguments with pager>