function FieldConfigListBuilder::buildHeader

Same name in other branches
  1. 8.9.x core/modules/field_ui/src/FieldConfigListBuilder.php \Drupal\field_ui\FieldConfigListBuilder::buildHeader()
  2. 10 core/modules/field_ui/src/FieldConfigListBuilder.php \Drupal\field_ui\FieldConfigListBuilder::buildHeader()
  3. 11.x core/modules/field_ui/src/FieldConfigListBuilder.php \Drupal\field_ui\FieldConfigListBuilder::buildHeader()

Overrides EntityListBuilder::buildHeader

File

core/modules/field_ui/src/FieldConfigListBuilder.php, line 119

Class

FieldConfigListBuilder
Provides lists of field config entities.

Namespace

Drupal\field_ui

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.