page_title.inc in Share Buttons, Related Posts, Content Analytics - Shareaholic 7
Same filename and directory in other branches
Page Title module integration.
File
includes/page_title.incView source
<?php
/**
* @file
* Page Title module integration.
*/
/**
* Implements hook_sexybookmarks_config_alter() on behalf of page_title.module.
*/
function page_title_sexybookmarks_config_alter(&$config, &$variables) {
if (!isset($variables['title']) || $variables['title'] == drupal_get_title() ? strip_tags(drupal_get_title()) : check_plain(variable_get('site_name', 'Drupal'))) {
$variables['title'] = page_title_page_get_title();
}
}
Functions
Name | Description |
---|---|
page_title_sexybookmarks_config_alter | Implements hook_sexybookmarks_config_alter() on behalf of page_title.module. |