You are here

public function PhoneNumberSettingsListBuilder::buildHeader in SMS Framework 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/Lists/PhoneNumberSettingsListBuilder.php, line 79

Class

PhoneNumberSettingsListBuilder
Builds a list of phone number settings.

Namespace

Drupal\sms\Lists

Code

public function buildHeader() {
  $header['entity_type'] = $this
    ->t('Entity type');
  $header['bundle'] = $this
    ->t('Bundle');
  $header['count_expired'] = $this
    ->t('Expired');
  $header['count_verified'] = $this
    ->t('Verified');
  $header['count_unverified'] = $this
    ->t('Unverified');
  $header['count_total'] = $this
    ->t('Total');
  return $header + parent::buildHeader();
}