public function BreakpointListBuilder::buildHeader in Bootstrap Layout Builder 1.x
Same name and namespace in other branches
- 2.x src/BreakpointListBuilder.php \Drupal\bootstrap_layout_builder\BreakpointListBuilder::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
- src/
BreakpointListBuilder.php, line 23
Class
- BreakpointListBuilder
- Provides a listing of layout builder breakpoints entities.
Namespace
Drupal\bootstrap_layout_builderCode
public function buildHeader() {
$header['label'] = $this
->t('Label');
$header['id'] = $this
->t('Machine name');
$header['base_class'] = $this
->t('Base class');
$header['status'] = $this
->t('Status');
return $header + parent::buildHeader();
}