function FieldStorageConfigListBuilder::buildHeader

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

Overrides EntityListBuilder::buildHeader

File

core/modules/field_ui/src/FieldStorageConfigListBuilder.php, line 96

Class

FieldStorageConfigListBuilder
Defines a class to build a listing of fields.

Namespace

Drupal\field_ui

Code

public function buildHeader() {
    $header['id'] = $this->t('Field name');
    $header['entity_type'] = $this->t('Entity type');
    $header['type'] = [
        'data' => $this->t('Field type'),
        'class' => [
            RESPONSIVE_PRIORITY_MEDIUM,
        ],
    ];
    $header['usage'] = $this->t('Used in');
    $header['settings_summary'] = $this->t('Summary');
    return $header;
}

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