function page_title_set_title in Page Title 7.2
Same name and namespace in other branches
- 8.2 page_title.module \page_title_set_title()
- 5.2 page_title.module \page_title_set_title()
- 5 page_title.module \page_title_set_title()
- 6.2 page_title.module \page_title_set_title()
- 7 page_title.module \page_title_set_title()
Legacy page title setting function... NOTE: This has been deprecated in favour of hook_page_title_alter().
1 call to page_title_set_title()
- page_title_page_title_alter in modules/
page_title.page_title.inc - Implements hook_page_title_alter().
File
- ./
page_title.module, line 577 - Enhanced control over the page title (in the head tag).
Code
function page_title_set_title($title = NULL) {
$stored_title =& drupal_static(__FUNCTION__);
if (isset($title)) {
$stored_title = $title;
}
return $stored_title;
}