You are here

function talk_theme in Talk 6

Same name and namespace in other branches
  1. 7 talk.module \talk_theme()

Implementation of hook_theme().

File

./talk.module, line 242
Comments are displayed in a separate 'talk' tab, for node types you wish

Code

function talk_theme() {
  return array(
    'talkpage' => array(
      'template' => 'talkpage',
      'arguments' => array(
        'node' => NULL,
        'add_comments' => NULL,
      ),
    ),
    'talk_comments' => array(
      'function' => 'theme_talk_comments',
      'arguments' => array(
        'node' => NULL,
      ),
    ),
    'talk_title' => array(
      'function' => 'theme_talk_title',
      'arguments' => array(
        'node' => NULL,
        'type' => 'tab',
      ),
    ),
  );
}