function FieldStorageConfigListBuilder::buildHeader
Same name in other branches
- 8.9.x core/modules/field_ui/src/FieldStorageConfigListBuilder.php \Drupal\field_ui\FieldStorageConfigListBuilder::buildHeader()
- 10 core/modules/field_ui/src/FieldStorageConfigListBuilder.php \Drupal\field_ui\FieldStorageConfigListBuilder::buildHeader()
- 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 87
Class
- FieldStorageConfigListBuilder
- Defines a class to build a listing of fields.
Namespace
Drupal\field_uiCode
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');
return $header;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.