public function HomeboxLayoutListBuilder::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/
HomeboxLayoutListBuilder.php, line 19
Class
- HomeboxLayoutListBuilder
- Defines a class to build a listing of Homebox Layout entities.
Namespace
Drupal\homeboxCode
public function buildHeader() {
$header['id'] = $this
->t('Homebox Layout ID');
$header['name'] = $this
->t('Name');
return $header + parent::buildHeader();
}