You are here

public function WebhookListBuilder::buildHeader in Webhooks 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/webhook/src/WebhookListBuilder.php, line 80

Class

WebhookListBuilder
Provides a list controller for the webhook entity type.

Namespace

Drupal\webhook

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('ID');
  $header['title'] = $this
    ->t('Title');
  $header['created'] = $this
    ->t('Created');
  return $header + parent::buildHeader();
}