You are here

public function ReferenceListBuilder::buildHeader in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 modules/bibcite_entity/src/ReferenceListBuilder.php \Drupal\bibcite_entity\ReferenceListBuilder::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/bibcite_entity/src/ReferenceListBuilder.php, line 18

Class

ReferenceListBuilder
Defines a class to build a listing of Reference entities.

Namespace

Drupal\bibcite_entity

Code

public function buildHeader() {
  $header['name'] = $this
    ->t('Title');
  $header['type'] = $this
    ->t('Type');
  $header['uid'] = $this
    ->t('Authored by');
  return $header + parent::buildHeader();
}