You are here

public function CustomFilterListBuilder::buildHeader in Custom filter 2.0.x

Same name and namespace in other branches
  1. 8 src/CustomFilterListBuilder.php \Drupal\customfilter\CustomFilterListBuilder::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/CustomFilterListBuilder.php, line 22

Class

CustomFilterListBuilder
Provides a listing of Custom Filters.

Namespace

Drupal\customfilter

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Filter');
  $header['id'] = $this
    ->t('Machine name');
  return $header + parent::buildHeader();
}