public function AbrconfigListBuilder::buildHeader in Access by Reference 8.2
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()
1 call to AbrconfigListBuilder::buildHeader()
- AbrconfigListBuilder::render in src/
Controller/ AbrconfigListBuilder.php - Builds the entity listing as renderable array for table.html.twig.
File
- src/
Controller/ AbrconfigListBuilder.php, line 16
Class
- AbrconfigListBuilder
- Provides a listing of Example.
Namespace
Drupal\access_by_ref\ControllerCode
public function buildHeader() {
$header['id'] = $this
->t('Machine name');
$header['label'] = $this
->t('Label');
$header['bundle'] = $this
->t('Bundle');
$header['field'] = $this
->t('Field');
$header['reference_type'] = $this
->t('Reference type');
$header['extra'] = $this
->t('Extra');
$header['rights_type'] = $this
->t('Rights type');
$header['rights_read'] = $this
->t('Read?');
$header['rights_update'] = $this
->t('Update?');
$header['rights_delete'] = $this
->t('Delete?');
return $header + parent::buildHeader();
}