You are here

public function PriceListListBuilder::buildHeader in Commerce Pricelist 8

Same name and namespace in other branches
  1. 8.2 src/PriceListListBuilder.php \Drupal\commerce_pricelist\PriceListListBuilder::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()

File

src/PriceListListBuilder.php, line 20

Class

PriceListListBuilder
Defines a class to build a listing of Price list entities.

Namespace

Drupal\commerce_pricelist

Code

public function buildHeader() {
  $header['id'] = $this
    ->t('Price list ID');
  $header['name'] = $this
    ->t('Name');
  return $header + parent::buildHeader();
}