user_titles.author-pane.inc in Author Pane 6
Same filename and directory in other branches
Provides a preprocess function on behalf of the user titles module.
File
modules/user_titles.author-pane.incView 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
Name | Description |
---|---|
user_titles_preprocess_author_pane | Implementation of hook_preprocess_author_pane(). |