public function GroupContentMenuListBuilder::buildHeader in Group Content Menu 8
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides EntityListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- src/
GroupContentMenuListBuilder.php, line 79
Class
- GroupContentMenuListBuilder
- Provides a list controller for the group content menu entity type.
Namespace
Drupal\group_content_menuCode
public function buildHeader() {
$header['id'] = $this
->t('ID');
$header['bundle'] = $this
->t('Type');
return $header + parent::buildHeader();
}