You are here

public function ContactListBuilder::buildHeader in RedHen CRM 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

modules/redhen_contact/src/ContactListBuilder.php, line 19

Class

ContactListBuilder
Defines a class to build a listing of Contact entities.

Namespace

Drupal\redhen_contact

Code

public function buildHeader() {
  $header['type'] = $this
    ->t('Type');
  $header['name'] = $this
    ->t('Name');
  $header['email'] = $this
    ->t('Email');
  $header['status'] = $this
    ->t('Status');
  return $header + parent::buildHeader();
}