You are here

public function GeocoderProviderListBuilder::buildHeader in Geocoder 8.3

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/GeocoderProviderListBuilder.php, line 56

Class

GeocoderProviderListBuilder
Provides a listing of Geocoder providers.

Namespace

Drupal\geocoder

Code

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