You are here

public function LanguageFlagMappingListBuilder::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/LanguageFlagMappingListBuilder.php, line 65

Class

LanguageFlagMappingListBuilder
Provides a listing of flag mapping entities.

Namespace

Drupal\flags\Entity

Code

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