function CommentTypeListBuilder::buildHeader

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

Overrides EntityListBuilder::buildHeader

File

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

Class

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

Namespace

Drupal\comment

Code

public function buildHeader() {
    $header['type'] = $this->t('Comment type');
    $header['description'] = $this->t('Description');
    $header['target'] = $this->t('Target entity type');
    return $header + parent::buildHeader();
}

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