public function PriceModifierListBuilder::buildHeader in Price 3.0.x
Same name and namespace in other branches
- 8 src/PriceModifierListBuilder.php \Drupal\price\PriceModifierListBuilder::buildHeader()
- 3.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();
}