You are here

user_titles.author-pane.inc in Author Pane 6

Provides a preprocess function on behalf of the user titles module.

File

modules/user_titles.author-pane.inc
View source
<?php

/**
 * @file
 *   Provides a preprocess function on behalf of the user titles module.
 */

/**
 * Implementation of hook_preprocess_author_pane().
 */
function user_titles_preprocess_author_pane(&$variables) {
  $account = $variables['account'];
  if ($account->uid != 0) {
    $variables['user_title'] = user_titles_get_user_title($account);
    $variables['user_title_image'] = user_titles_get_user_image($account);
  }
}

Functions

Namesort descending Description
user_titles_preprocess_author_pane Implementation of hook_preprocess_author_pane().