You are here

public function PriceModifierListBuilder::buildHeader in Price 8

Same name and namespace in other branches
  1. 3.x src/PriceModifierListBuilder.php \Drupal\price\PriceModifierListBuilder::buildHeader()
  2. 3.0.x src/PriceModifierListBuilder.php \Drupal\price\PriceModifierListBuilder::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/PriceModifierListBuilder.php, line 16

Class

PriceModifierListBuilder
Defines the list builder.

Namespace

Drupal\price

Code

public function buildHeader() {
  $header['label'] = $this->entityType
    ->getLabel();
  return $header + parent::buildHeader();
}