public function StatusTypeListBuilder::buildHeader in Heartbeat 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
- modules/
statusmessage/ src/ StatusTypeListBuilder.php, line 15
Class
- StatusTypeListBuilder
- Provides a listing of Status type entities.
Namespace
Drupal\statusmessageCode
public function buildHeader() {
$header['label'] = $this
->t('Status type');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}