You are here

public function BlockListingForm::buildHeader in Layout Builder Browser 8

1 call to BlockListingForm::buildHeader()
BlockListingForm::buildForm in src/Form/BlockListingForm.php
Form constructor.

File

src/Form/BlockListingForm.php, line 66

Class

BlockListingForm
Builds a listing of block entities.

Namespace

Drupal\layout_builder_browser\Form

Code

public function buildHeader() {
  $header = [
    'title' => [
      'data' => $this
        ->t('Title'),
    ],
    'block_provider' => $this
      ->t('Block provider'),
    'category' => $this
      ->t('Category'),
    'weight' => $this
      ->t('Weight'),
    'operations' => $this
      ->t('Operations'),
  ];
  return $header;
}