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

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
2016-10-29 09:12:35
Comments
Leave a Comment

Please login to continue.