function comment_theme

Same name and namespace in other branches
  1. 7.x modules/comment/comment.module \comment_theme()
  2. 8.9.x core/modules/comment/comment.module \comment_theme()
  3. 10 core/modules/comment/comment.module \comment_theme()
  4. 11.x core/modules/comment/comment.module \comment_theme()

Implements hook_theme().

File

core/modules/comment/comment.module, line 113

Code

function comment_theme() {
    return [
        'comment' => [
            'render element' => 'elements',
        ],
        'field__comment' => [
            'base hook' => 'field',
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.