function _phptemplate_variables in Page Title 5.2
Same name and namespace in other branches
- 5 template.php \_phptemplate_variables()
- 6 template.php \_phptemplate_variables()
File
- ./
template.php, line 3
Code
function _phptemplate_variables($hook, $vars) {
$vars = array();
if ($hook == 'page') {
if (module_exists('page_title')) {
$vars['head_title'] = page_title_page_get_title();
}
}
return $vars;
}