public function FlagListBuilder::buildHeader in Flag 8.4
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
- src/
Controller/ FlagListBuilder.php, line 29
Class
- FlagListBuilder
- Provides a entity list page for Flags.
Namespace
Drupal\flag\ControllerCode
public function buildHeader() {
$header['label'] = $this
->t('Flag');
$header['flag_type'] = $this
->t('Flag Type');
$header['roles'] = $this
->t('Roles');
$header['bundles'] = $this
->t('Entity Bundles');
$header['global'] = $this
->t('Scope');
$header['status'] = $this
->t('Status');
return $header + parent::buildHeader();
}