function CommentTypeListBuilder::buildHeader
Same name in other branches
- 8.9.x core/modules/comment/src/CommentTypeListBuilder.php \Drupal\comment\CommentTypeListBuilder::buildHeader()
- 10 core/modules/comment/src/CommentTypeListBuilder.php \Drupal\comment\CommentTypeListBuilder::buildHeader()
- 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\commentCode
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.