You are here

public function LanguageListBuilder::buildHeader in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/language/src/LanguageListBuilder.php \Drupal\language\LanguageListBuilder::buildHeader()
  2. 9 core/modules/language/src/LanguageListBuilder.php \Drupal\language\LanguageListBuilder::buildHeader()

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

core/modules/language/src/LanguageListBuilder.php, line 104

Class

LanguageListBuilder
Defines a class to build a listing of language entities.

Namespace

Drupal\language

Code

public function buildHeader() {
  $header = [
    'label' => t('Name'),
    'default' => t('Default'),
  ] + parent::buildHeader();
  return $header;
}