You are here

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

Same name and namespace in other branches
  1. 8 modules/bibcite_entity/src/ContributorCategoryListBuilder.php \Drupal\bibcite_entity\ContributorCategoryListBuilder::buildHeader()

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides DraggableListBuilder::buildHeader

See also

\Drupal\Core\Entity\EntityListBuilder::render()

File

modules/bibcite_entity/src/ContributorCategoryListBuilder.php, line 24

Class

ContributorCategoryListBuilder
Provides a listing of Contributor category entities.

Namespace

Drupal\bibcite_entity

Code

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