You are here

public function FooTableBreakpointListBuilder::buildHeader in FooTable 8

Same name and namespace in other branches
  1. 8.2 src/FooTableBreakpointListBuilder.php \Drupal\footable\FooTableBreakpointListBuilder::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/FooTableBreakpointListBuilder.php, line 18

Class

FooTableBreakpointListBuilder
Defines a class to build a listing of FooTable breakpoint entities.

Namespace

Drupal\footable

Code

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