function metatags_quick_preprocess_html in Meta tags quick 7.2
Implements hook_preprocess_html().
Overrides the head title element.
File
- ./
metatags_quick.module, line 232 - Quick and dirty implementation of meta tags for drupal 7 Module defines new field type 'meta'. Fields of this type are not displayed in HTML. Instead, they add html meta to the head section.
Code
function metatags_quick_preprocess_html(&$variables) {
if ($title = _metatags_quick_set_html_title()) {
// Override the title set by template_preprocess_html().
$variables['head_title_array'] = $title;
$variables['head_title'] = implode(' | ', $title);
}
}