FieldStorageConfigListBuilder::buildHeader

public FieldStorageConfigListBuilder::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/FieldStorageConfigListBuilder.php, line 83

Class

FieldStorageConfigListBuilder
Defines a class to build a listing of fields.

Namespace

Drupal\field_ui

Code

1
2
3
4
5
6
7
8
9
public function buildHeader() {
  $header['id'] = $this->t('Field name');
  $header['type'] = array(
    'data' => $this->t('Field type'),
    'class' => array(RESPONSIVE_PRIORITY_MEDIUM),
  );
  $header['usage'] = $this->t('Used in');
  return $header;
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.