You are here

function comment_theme in Drupal 6

Same name and namespace in other branches
  1. 8 core/modules/comment/comment.module \comment_theme()
  2. 7 modules/comment/comment.module \comment_theme()
  3. 9 core/modules/comment/comment.module \comment_theme()
  4. 10 core/modules/comment/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,
      ),
    ),
  );
}