You are here

public function TransactionOperationListBuilder::buildHeader in Transaction 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/TransactionOperationListBuilder.php, line 78

Class

TransactionOperationListBuilder
Provides a entity list page for transaction operations.

Namespace

Drupal\transaction

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('ID');
  $header['label'] = $this
    ->t('Name');
  $header['description'] = [
    'data' => $this
      ->t('Description template'),
    'class' => [
      RESPONSIVE_PRIORITY_MEDIUM,
    ],
  ];
  $header['details'] = [
    'data' => $this
      ->t('Detail templates'),
    'class' => [
      RESPONSIVE_PRIORITY_LOW,
    ],
  ];
  return $header + parent::buildHeader();
}