You are here

public function OpenlayersMapListBuilder::buildHeader in Openlayers 8.4

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/OpenlayersMapListBuilder.php, line 16

Class

OpenlayersMapListBuilder
Provides a listing of Openalyers Map configuration entities.

Namespace

Drupal\openlayers\Controller

Code

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