You are here

public function SubscriptionListBuilder::buildHeader in Commerce Recurring Framework 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/SubscriptionListBuilder.php, line 34

Class

SubscriptionListBuilder
List builder for subscriptions.

Namespace

Drupal\commerce_recurring

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('ID');
  $header['title'] = $this
    ->t('Title');
  $header['type'] = $this
    ->t('Type');
  $header['billing_schedule'] = $this
    ->t('Billing schedule');
  $header['customer'] = $this
    ->t('Customer');
  $header['state'] = $this
    ->t('State');
  $header['start_date'] = $this
    ->t('Start date');
  $header['end_date'] = $this
    ->t('End date');
  return $header + parent::buildHeader();
}