public function CurrencyListBuilder::buildHeader in Price 8
Same name and namespace in other branches
- 3.x src/CurrencyListBuilder.php \Drupal\price\CurrencyListBuilder::buildHeader()
- 2.0.x src/CurrencyListBuilder.php \Drupal\price\CurrencyListBuilder::buildHeader()
- 2.x src/CurrencyListBuilder.php \Drupal\price\CurrencyListBuilder::buildHeader()
- 3.0.x src/CurrencyListBuilder.php \Drupal\price\CurrencyListBuilder::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/
CurrencyListBuilder.php, line 16
Class
- CurrencyListBuilder
- Defines the list builder for currencies.
Namespace
Drupal\priceCode
public function buildHeader() {
$header = [
'name' => $this
->t('Name'),
'currencyCode' => $this
->t('Currency code'),
];
return $header + parent::buildHeader();
}