You are here

public function SimpleBlockListBuilder::buildHeader in Simple Block 8

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/SimpleBlockListBuilder.php, line 18

Class

SimpleBlockListBuilder
Defines a class to build a listing of simple blocks.

Namespace

Drupal\simple_block

Code

public function buildHeader() {
  return [
    'id' => $this
      ->t('ID'),
    'block' => $this
      ->t('Block title'),
  ] + parent::buildHeader();
}