You are here

public function GatsbyLogEntityListBuilder::buildHeader in Gatsby Live Preview & Incremental Builds 8

Same name and namespace in other branches
  1. 2.0.x modules/gatsby_fastbuilds/src/GatsbyLogEntityListBuilder.php \Drupal\gatsby_fastbuilds\GatsbyLogEntityListBuilder::buildHeader()

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/gatsby_fastbuilds/src/GatsbyLogEntityListBuilder.php, line 55

Class

GatsbyLogEntityListBuilder
Defines a class to build a listing of Gatsby log entity entities.

Namespace

Drupal\gatsby_fastbuilds

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('ID');
  $header['title'] = $this
    ->t('Entity Title');
  $header['entity_uuid'] = $this
    ->t('Entity UUID');
  $header['entity'] = $this
    ->t('Entity Type');
  $header['bundle'] = $this
    ->t('Bundle');
  $header['langcode'] = $this
    ->t('Language');
  $header['action'] = $this
    ->t('Action');
  $header['created'] = $this
    ->t('Log Entry Created');
  return $header;
}