You are here

public function InformBlockListBuilder::buildHeader in Data Policy 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/Controller/InformBlockListBuilder.php, line 16

Class

InformBlockListBuilder
Provides a listing of Inform Blocks.

Namespace

Drupal\data_policy\Controller

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Title');
  $header['page'] = $this
    ->t('Page');
  $header['enabled'] = $this
    ->t('Enabled');
  return $header + parent::buildHeader();
}