You are here

public function CustomLanguageListBuilder::buildHeader in Custom Language field 8

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides DraggableListBuilder::buildHeader

See also

\Drupal\Core\Entity\EntityListBuilder::render()

File

src/CustomLanguageListBuilder.php, line 26

Class

CustomLanguageListBuilder
Defines a class to build a listing of Custom Languages.

Namespace

Drupal\languagefield

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Language name');
  $header['langcode'] = $this
    ->t('Language code');
  $header['native_name'] = $this
    ->t('Language native name');
  return $header + parent::buildHeader();
}