You are here

public function CslStyleListBuilder::buildHeader in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x src/CslStyleListBuilder.php \Drupal\bibcite\CslStyleListBuilder::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

src/CslStyleListBuilder.php, line 16

Class

CslStyleListBuilder
Provides a listing of CSL style entities.

Namespace

Drupal\bibcite

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('Machine name');
  $header['label'] = $this
    ->t('Label');
  $header['status'] = $this
    ->t('Status');
  return $header + parent::buildHeader();
}