You are here

public function LayoutBuilderStyleListBuilder::buildHeader in Layout Builder Styles 8

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/LayoutBuilderStyleListBuilder.php, line 23

Class

LayoutBuilderStyleListBuilder
Provides a listing of layout builder style entities.

Namespace

Drupal\layout_builder_styles

Code

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