1 views.module &views_set_page_view($view = NULL)

Set the current 'page view' that is being displayed so that it is easy for other modules or the theme to identify.

File

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

Code

function &views_set_page_view($view = NULL) {
  static $cache = NULL;
  if (isset($view)) {
    $cache = $view;
  }

  return $cache;
}