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