public 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 103
Class
- FieldConfigListBuilder
- Provides lists of field config entities.
Namespace
Drupal\field_ui
Code
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(); }
Please login to continue.