public function HomeboxListBuilder::buildHeader in Homebox 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/
HomeboxListBuilder.php, line 17
Class
- HomeboxListBuilder
- Provides a listing of Homebox entities.
Namespace
Drupal\homeboxCode
public function buildHeader() {
$header['label'] = $this
->t('Homebox');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}