public function PaymentMethodListBuilder::buildHeader in Ubercart 8.4
Builds the header row for the entity listing.
Return value
array A render array structure of header strings.
Overrides DraggableListBuilder::buildHeader
See also
\Drupal\Core\Entity\EntityListBuilder::render()
File
- payment/
uc_payment/ src/ PaymentMethodListBuilder.php, line 62
Class
- PaymentMethodListBuilder
- Defines a class to build a listing of payment method configuration entities.
Namespace
Drupal\uc_paymentCode
public function buildHeader() {
$header['label'] = [
'data' => $this
->t('Payment method'),
];
$header['plugin'] = [
'data' => $this
->t('Type'),
'class' => [
RESPONSIVE_PRIORITY_LOW,
],
];
$header['status'] = [
'data' => $this
->t('Status'),
];
return $header + parent::buildHeader();
}