function CommentHooks::theme

Implements hook_theme().

File

core/modules/comment/src/Hook/CommentHooks.php, line 99

Class

CommentHooks
Hook implementations for comment.

Namespace

Drupal\comment\Hook

Code

public function theme() : array {
    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.