You are here

public function PagererPresetListBuilder::buildHeader in Pagerer 8

Same name and namespace in other branches
  1. 8.2 src/PagererPresetListBuilder.php \Drupal\pagerer\PagererPresetListBuilder::buildHeader()

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()

File

src/PagererPresetListBuilder.php, line 17

Class

PagererPresetListBuilder
Provides a listing of Pagerer presets.

Namespace

Drupal\pagerer

Code

public function buildHeader() {
  $header['name'] = $this
    ->t('Pager name');
  $header['preview'] = $this
    ->t('Preview');
  return $header + parent::buildHeader();
}