function page_title_views_default_views in Page Title 8.2
Same name and namespace in other branches
- 6.2 page_title.views_default.inc \page_title_views_default_views()
- 7.2 page_title.views_default.inc \page_title_views_default_views()
Implementation hook_views_default_views().
File
- ./
page_title.views_default.inc, line 13 - Default Page Title Views
Code
function page_title_views_default_views() {
// This lets us locally cache the result - in case the function is called twice
static $views;
if (isset($views)) {
return $views;
}
// No views cached, generate the default views array and return
$views = array();
$views += _page_title_views_default_views_list_node_page_titles();
return $views;
}