You are here

page_title.inc in Share Buttons, Related Posts, Content Analytics - Shareaholic 7

Same filename and directory in other branches
  1. 7.2 includes/page_title.inc

Page Title module integration.

File

includes/page_title.inc
View 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

Namesort descending Description
page_title_sexybookmarks_config_alter Implements hook_sexybookmarks_config_alter() on behalf of page_title.module.