public function ListPaymentStatuses::execute in Payment 8.2
Lists all payment statuses.
Return value
array A render array.
1 string reference to 'ListPaymentStatuses::execute'
File
- src/
Controller/ ListPaymentStatuses.php, line 58
Class
- ListPaymentStatuses
- Handles the "list payment methods" route.
Namespace
Drupal\payment\ControllerCode
public function execute() {
return [
'#header' => [
$this
->t('Title'),
$this
->t('Description'),
$this
->t('Operations'),
],
'#type' => 'table',
] + $this
->buildListingLevel($this
->buildHierarchy(), 0);
}