comment_theme

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

Implementation of hook_theme().

File

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

Code

function comment_theme() {
  return array(
    'comment_block' => array(
      'arguments' => array(),
    ), 
    'comment_admin_overview' => array(
      'arguments' => array('form' => NULL),
    ), 
    'comment_preview' => array(
      'arguments' => array('comment' => NULL, 'node' => NULL, 'links' => array(), 'visible' => 1),
    ), 
    'comment_view' => array(
      'arguments' => array('comment' => NULL, 'node' => NULL, 'links' => array(), 'visible' => 1),
    ), 
    'comment_controls' => array(
      'arguments' => array('form' => NULL),
    ), 
    'comment' => array(
      'template' => 'comment', 
      'arguments' => array('comment' => NULL, 'node' => NULL, 'links' => array()),
    ), 
    'comment_folded' => array(
      'template' => 'comment-folded', 
      'arguments' => array('comment' => NULL),
    ), 
    'comment_flat_collapsed' => array(
      'arguments' => array('comment' => NULL, 'node' => NULL),
    ), 
    'comment_flat_expanded' => array(
      'arguments' => array('comment' => NULL, 'node' => NULL),
    ), 
    'comment_thread_collapsed' => array(
      'arguments' => array('comment' => NULL, 'node' => NULL),
    ), 
    'comment_thread_expanded' => array(
      'arguments' => array('comment' => NULL, 'node' => NULL),
    ), 
    'comment_post_forbidden' => array(
      'arguments' => array('nid' => NULL),
    ), 
    'comment_wrapper' => array(
      'template' => 'comment-wrapper', 
      'arguments' => array('content' => NULL, 'node' => NULL),
    ), 
    'comment_submitted' => array(
      'arguments' => array('comment' => NULL),
    ),
  );
}
Login or register to post comments