You are here

public function BlockVisibilityGroupListBuilder::buildHeader in Block Visibility Groups 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/BlockVisibilityGroupListBuilder.php, line 17

Class

BlockVisibilityGroupListBuilder
Provides a listing of Block Visibility Group entities.

Namespace

Drupal\block_visibility_groups\Controller

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Block Visibility Group');
  $header['id'] = $this
    ->t('Machine name');
  $header += parent::buildHeader();

  // $header['manage_blocks'] = $this->t('Manage Blocks');.
  return $header;
}