public function PriceModifierListBuilder::buildHeader in Price 8
Same name and namespace in other branches
- 3.x src/PriceModifierListBuilder.php \Drupal\price\PriceModifierListBuilder::buildHeader()
- 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\priceCode
public function buildHeader() {
$header['label'] = $this->entityType
->getLabel();
return $header + parent::buildHeader();
}