1 views.module &views_get_page_view()

Find out what, if any, page view is currently in use. Please note that this returns a reference, so be careful! You can unintentionally modify the $view object.

Return value

view: A fully formed, empty $view object.

File

core/modules/views/views.module, line 920
Primarily Backdrop hooks and global API functions to manipulate views.

Code

function &views_get_page_view() {
  return views_set_page_view();
}