public function FooTableBreakpointListBuilder::buildHeader in FooTable 8
Same name and namespace in other branches
- 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\footableCode
public function buildHeader() {
$header['label'] = $this
->t('Label');
$header['name'] = $this
->t('Name');
$header['breakpoint'] = $this
->t('Breakpoint');
return $header + parent::buildHeader();
}