public function InviteTypeListBuilder::buildHeader in Invite 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/
InviteTypeListBuilder.php, line 16
Class
- InviteTypeListBuilder
- Provides a list of Invite type entities.
Namespace
Drupal\inviteCode
public function buildHeader() {
$header['label'] = $this
->t('Test');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}