You are here

public function ReportsListBuilder::buildHeader in Commerce Reporting 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/ReportsListBuilder.php, line 16

Class

ReportsListBuilder
Builds a listing of the order report entities.

Namespace

Drupal\commerce_reports

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Label');
  $header['amount'] = $this
    ->t('Amount');
  return $header + parent::buildHeader();
}