You are here

function page_title_sexybookmarks_config_alter in Share Buttons, Related Posts, Content Analytics - Shareaholic 7.2

Same name and namespace in other branches
  1. 7 includes/page_title.inc \page_title_sexybookmarks_config_alter()

Implements hook_sexybookmarks_config_alter() on behalf of page_title.module.

File

includes/page_title.inc, line 10
Page Title module integration.

Code

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();
  }
}