1.20.x views.module | &views_get_current_view() |
Find out what, if any, current 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:
File
- modules/
views/ views.module, line 943 - Primarily Backdrop hooks and global API functions to manipulate views.
Code
function &views_get_current_view() {
return views_set_current_view();
}