You are here

function talk_theme in Talk 7

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

Implementats hook_theme().

File

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

Code

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