public function InvoiceTypeListBuilder::buildHeader in Drupal PM (Project Management) 4.x
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
- modules/
pm_invoice/ src/ InvoiceTypeListBuilder.php, line 16
Class
- InvoiceTypeListBuilder
- Provides a listing of Invoice type entities.
Namespace
Drupal\pm_invoiceCode
public function buildHeader() {
$header['label'] = $this
->t('Invoice type');
$header['id'] = $this
->t('Machine name');
return $header + parent::buildHeader();
}