public function ContributorRoleListBuilder::buildHeader in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_entity/src/ContributorRoleListBuilder.php \Drupal\bibcite_entity\ContributorRoleListBuilder::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/ ContributorRoleListBuilder.php, line 24
Class
- ContributorRoleListBuilder
- Provides a listing of Contributor role entities.
Namespace
Drupal\bibcite_entityCode
public function buildHeader() {
$header['label'] = $this
->t('Contributor role');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}