function LanguageListBuilder::buildHeader
Same name in other branches
- 9 core/modules/language/src/LanguageListBuilder.php \Drupal\language\LanguageListBuilder::buildHeader()
- 8.9.x core/modules/language/src/LanguageListBuilder.php \Drupal\language\LanguageListBuilder::buildHeader()
- 10 core/modules/language/src/LanguageListBuilder.php \Drupal\language\LanguageListBuilder::buildHeader()
Overrides DraggableListBuilderTrait::buildHeader
File
-
core/
modules/ language/ src/ LanguageListBuilder.php, line 104
Class
- LanguageListBuilder
- Defines a class to build a listing of language entities.
Namespace
Drupal\languageCode
public function buildHeader() {
$header = [
'label' => $this->t('Name'),
'default' => $this->t('Default'),
] + parent::buildHeader();
return $header;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.