1 comment.module comment_theme()

Implements hook_theme().

File

core/modules/comment/comment.module, line 178
Enables users to comment on published content.

Code

function comment_theme() {
  $base = array(
    'file' => 'comment.theme.inc',
  );

  return array(
    'comment_block' => array(
      'variables' => array('comments' => array()),
    ) + $base,
    'comment_preview' => array(
      'variables' => array('comment' => NULL),
    ) + $base,
    'comment' => array(
      'template' => 'templates/comment',
      'render element' => 'elements',
    ) + $base,
    'comment_post_forbidden' => array(
      'variables' => array('node' => NULL),
    ) + $base,
  );
}