function CommentTypeListBuilder::buildHeader

Same name and namespace in other branches
  1. 9 core/modules/comment/src/CommentTypeListBuilder.php \Drupal\comment\CommentTypeListBuilder::buildHeader()
  2. 10 core/modules/comment/src/CommentTypeListBuilder.php \Drupal\comment\CommentTypeListBuilder::buildHeader()
  3. 11.x core/modules/comment/src/CommentTypeListBuilder.php \Drupal\comment\CommentTypeListBuilder::buildHeader()

Overrides EntityListBuilder::buildHeader

File

core/modules/comment/src/CommentTypeListBuilder.php, line 31

Class

CommentTypeListBuilder
Defines a class to build a listing of comment type entities.

Namespace

Drupal\comment

Code

public function buildHeader() {
    $header['type'] = t('Comment type');
    $header['description'] = t('Description');
    return $header + parent::buildHeader();
}

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