You are here

public function FlagMappingListBuilder::buildHeader in Flags 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/Entity/FlagMappingListBuilder.php, line 60

Class

FlagMappingListBuilder
Provides a listing of flag mapping entities.

Namespace

Drupal\flags\Entity

Code

public function buildHeader() {
  $header['country'] = $this
    ->t('Country');
  $header['flag'] = $this
    ->t('Flag');
  $header['info'] = $this
    ->t('Info');
  return $header + parent::buildHeader();
}