You are here

public function PushNotificationsTokenListBuilder::buildHeader in Push Notifications 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/Entity/Controller/PushNotificationsTokenListBuilder.php, line 42
Contains Drupal\push_notifications\Entity\Controller\PushNotificationsTokenListBuilder.

Class

PushNotificationsTokenListBuilder
Provides a list controller for push_notifications_token entity.

Namespace

Drupal\push_notifications\Entity\Controller

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('ID');
  $header['owner'] = $this
    ->t('Owner');
  $header['token'] = $this
    ->t('Token');
  $header['network'] = $this
    ->t('Network');
  $header['created'] = $this
    ->t('Created');
  $header['langcode'] = $this
    ->t('Language Code');
  return $header + parent::buildHeader();
}