You are here

function views_get_page_view in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 8.3 views.module \views_get_page_view()
  2. 6.3 views.module \views_get_page_view()
  3. 7.3 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.

2 calls to views_get_page_view()
views_plugin_argument_default_taxonomy_tid::get_argument in modules/taxonomy/views_plugin_argument_default_taxonomy_tid.inc
Return the default argument.
views_plugin_argument_default_user::get_argument in modules/user/views_plugin_argument_default_user.inc
Return the default argument.

File

./views.module, line 528
Primarily Drupal hooks and global API functions to manipulate views.

Code

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