public function EntityExportCsvListBuilder::buildHeader in Entity Export CSV 8
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
- src/
EntityExportCsvListBuilder.php, line 16
Class
- EntityExportCsvListBuilder
- Provides a listing of Entity export csv entities.
Namespace
Drupal\entity_export_csvCode
public function buildHeader() {
$header['label'] = $this
->t('Label');
$header['id'] = $this
->t('Machine name');
$header['entity_type_id'] = $this
->t('Entity Type ID');
$header['bundle'] = $this
->t('Bundle');
return $header + parent::buildHeader();
}