public function FieldConfigListBuilder::buildHeader in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/field_ui/src/FieldConfigListBuilder.php \Drupal\field_ui\FieldConfigListBuilder::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/ FieldConfigListBuilder.php, line 108 - Contains \Drupal\field_ui\FieldConfigListBuilder.
Class
- FieldConfigListBuilder
- Provides lists of field config entities.
Namespace
Drupal\field_uiCode
public function buildHeader() {
$header = array(
'label' => $this
->t('Label'),
'field_name' => array(
'data' => $this
->t('Machine name'),
'class' => array(
RESPONSIVE_PRIORITY_MEDIUM,
),
),
'field_type' => $this
->t('Field type'),
);
return $header + parent::buildHeader();
}