public function ExchangeRatesListBuilder::buildHeader in Commerce Exchanger 8
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/
ExchangeRatesListBuilder.php, line 16
Class
- ExchangeRatesListBuilder
- Provides a listing of Exchange rates entities.
Namespace
Drupal\commerce_exchangerCode
public function buildHeader() {
$header['label'] = $this
->t('Exchange rates');
$header['id'] = $this
->t('Machine name');
$header['mode'] = $this
->t('Mode');
$header['status'] = $this
->t('Status');
return $header + parent::buildHeader();
}