You are here

function author_pane_theme in Author Pane 7.2

Same name and namespace in other branches
  1. 8.3 author_pane.module \author_pane_theme()
  2. 6.2 author_pane.module \author_pane_theme()
  3. 6 author_pane.module \author_pane_theme()

Implements hook_theme().

File

./author_pane.module, line 13
Gathers information from user related modules into one template.

Code

function author_pane_theme() {
  author_pane_include('author-pane.inc');
  $items['author_pane'] = array(
    'template' => 'author-pane',
    'variables' => array(
      'account' => NULL,
      'caller' => NULL,
      'picture_preset' => NULL,
      'context' => NULL,
      'disable_css' => NULL,
      'join_date_type' => NULL,
    ),
  );
  $items['author_pane_user_picture'] = array(
    'template' => 'author-pane-user-picture',
    'variables' => array(
      'account' => NULL,
      'caller' => NULL,
      'picture_preset' => NULL,
    ),
  );
  return $items;
}