You are here

public function FlipbookListBuilder::buildHeader in 3D Flipbook 8

Building the header and content lines for the flipbook list.

Calling the parent::buildHeader() adds a column for the possible actions and inserts the 'edit' and 'delete' links as defined for the entity type.

Overrides EntityListBuilder::buildHeader

File

src/Entity/Controller/FlipbookListBuilder.php, line 45

Class

FlipbookListBuilder
Provides a list controller for content_entity_example_contact entity.

Namespace

Drupal\flipbook\Entity\Controller

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('FlipbookID');
  $header['name'] = $this
    ->t('Name');
  $header['flipbook_cover'] = $this
    ->t('FlipBook Cover');
  $header['flipbook'] = $this
    ->t('Flipbook Pdf');
  return $header + parent::buildHeader();
}