public function EntityDisplayModeListBuilder::buildHeader in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 62 - Contains \Drupal\field_ui\EntityDisplayModeListBuilder.
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();
}