public function EntityDisplayModeListBuilder::buildHeader in Drupal 8
Same name and namespace in other branches
- 9 core/modules/field_ui/src/EntityDisplayModeListBuilder.php \Drupal\field_ui\EntityDisplayModeListBuilder::buildHeader()
- 10 core/modules/field_ui/src/EntityDisplayModeListBuilder.php \Drupal\field_ui\EntityDisplayModeListBuilder::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()
1 call to EntityDisplayModeListBuilder::buildHeader()
- EntityDisplayModeListBuilder::render in core/
modules/ field_ui/ src/ EntityDisplayModeListBuilder.php - Builds the entity listing as renderable array for table.html.twig.
File
- core/
modules/ field_ui/ src/ EntityDisplayModeListBuilder.php, line 59
Class
- EntityDisplayModeListBuilder
- Defines a class to build a listing of view mode entities.
Namespace
Drupal\field_uiCode
public function buildHeader() {
$header['label'] = $this
->t('Name');
return $header + parent::buildHeader();
}