Commit 7a5b865e authored by Nicholas Thompson's avatar Nicholas Thompson
Browse files

Added an implementation of hook_preprocess_page

parent 679d592c
......@@ -91,6 +91,10 @@ function page_title_theme() {
'template' => 'page_title-admin-settings-form',
'arguments' => array('form' => NULL),
),
'page_title_preprocess_page' => array(
'arguments' => array('vars' => NULL),
),
);
}
......@@ -354,3 +358,11 @@ function page_title_token_list($type = 'all') {
return $tokens;
}
/**
* Implementation of hook_preprocess_page
*/
function page_title_preprocess_page(&$vars) {
$vars['head_title'] = page_title_page_get_title();
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment