public function TransactionTypeListBuilder::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/
TransactionTypeListBuilder.php, line 66  
Class
- TransactionTypeListBuilder
 - Provides a entity list page for transaction types.
 
Namespace
Drupal\transactionCode
public function buildHeader() {
  $header['label'] = $this
    ->t('Name');
  $header['transactor'] = $this
    ->t('Transactor');
  $header['target_entity_type'] = $this
    ->t('Target entity type');
  $header['target_entity_bundles'] = $this
    ->t('Applicable bundles');
  return $header + parent::buildHeader();
}