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\languagefieldCode
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();
}