public function FieldConfigListBuilder::buildHeader in Drupal 8
Same name and namespace in other branches
- 9 core/modules/field_ui/src/FieldConfigListBuilder.php \Drupal\field_ui\FieldConfigListBuilder::buildHeader()
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
- core/
modules/ field_ui/ src/ FieldConfigListBuilder.php, line 132
Class
- FieldConfigListBuilder
- Provides lists of field config entities.
Namespace
Drupal\field_uiCode
public function buildHeader() {
$header = [
'label' => $this
->t('Label'),
'field_name' => [
'data' => $this
->t('Machine name'),
'class' => [
RESPONSIVE_PRIORITY_MEDIUM,
],
],
'field_type' => $this
->t('Field type'),
];
return $header + parent::buildHeader();
}