You are here

public function FilterFormatListBuilder::buildHeader in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/filter/src/FilterFormatListBuilder.php \Drupal\filter\FilterFormatListBuilder::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

core/modules/filter/src/FilterFormatListBuilder.php, line 91

Class

FilterFormatListBuilder
Defines a class to build a listing of filter format entities.

Namespace

Drupal\filter

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Name');
  $header['roles'] = $this
    ->t('Roles');
  return $header + parent::buildHeader();
}