You are here

public function SignupListBuilder::buildHeader in SendinBlue 8

Same name and namespace in other branches
  1. 8.2 src/Entity/Controller/SignupListBuilder.php \Drupal\sendinblue\Entity\Controller\SignupListBuilder::buildHeader()

Building the header and content lines for the contact 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/SignupListBuilder.php, line 78

Class

SignupListBuilder
Provides a list controller for content_entity_example_contact entity.

Namespace

Drupal\sendinblue\Entity\Controller

Code

public function buildHeader() {
  $header['name'] = $this
    ->t('Name');
  $header['mode'] = $this
    ->t('Display Mode(s)');
  $header['mcLists'] = $this
    ->t('SendinBlue Lists');
  $header['access'] = $this
    ->t('Page Access');
  return $header + parent::buildHeader();
}