Skip navigation
Help

comment_theme

6 comment.module comment_theme()
7 comment.module comment_theme()

Implements hook_theme().

File

drupal/modules/comment/comment.module, line 191
Enables users to comment on published content.

Code

function comment_theme() {
  return array(
    'comment_block' => array(
      'variables' => array(),
    ), 
    'comment_preview' => array(
      'variables' => array('comment' => NULL),
    ), 
    'comment' => array(
      'template' => 'comment', 
      'render element' => 'elements',
    ), 
    'comment_post_forbidden' => array(
      'variables' => array('node' => NULL),
    ), 
    'comment_wrapper' => array(
      'template' => 'comment-wrapper', 
      'render element' => 'content',
    ),
  );
}