public function AddPaymentStatus::execute in Payment 8.2
Displays a payment status add form.
Return value
array
1 string reference to 'AddPaymentStatus::execute'
File
- src/
Controller/ AddPaymentStatus.php, line 50
Class
- AddPaymentStatus
- Handles the "add payment status" route.
Namespace
Drupal\payment\ControllerCode
public function execute() {
$payment_status = $this->paymentStatusStorage
->create();
return $this->entityFormBuilder
->getForm($payment_status);
}