function CommentTypeListBuilder::buildHeader
Same name in other branches
- 9 core/modules/comment/src/CommentTypeListBuilder.php \Drupal\comment\CommentTypeListBuilder::buildHeader()
- 8.9.x 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 60
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');
$header['target'] = 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.