uc_payment.routing.yml in Ubercart 8.4
payment/uc_payment/uc_payment.routing.yml
6 string references to YAML keys in uc_payment.routing.yml
- OrderPaymentsForm::buildForm in payment/
uc_payment/ src/ Form/ OrderPaymentsForm.php - Form constructor.
- Payment::view in payment/
uc_payment/ src/ Plugin/ Ubercart/ OrderPane/ Payment.php - Returns the contents of an order pane as a store administrator.
- PaymentDeleteForm::getCancelUrl in payment/
uc_payment/ src/ Form/ PaymentDeleteForm.php - Returns the route to go to if the user cancels the action.
- PaymentMethodListBuilder::submitAddPaymentMethod in payment/
uc_payment/ src/ PaymentMethodListBuilder.php - Form submission handler for adding a new payment method.
- uc_2checkout_help in payment/
uc_2checkout/ uc_2checkout.module - Implements hook_help().
File
payment/uc_payment/uc_payment.routing.ymlView source
- entity.uc_payment_method.collection:
- path: '/admin/store/config/payment'
- defaults:
- _entity_list: 'uc_payment_method'
- _title: 'Payment methods'
- requirements:
- _permission: 'administer store'
-
- entity.uc_payment_method.add_form:
- path: '/admin/store/config/payment/add/{plugin_id}'
- defaults:
- _controller: '\Drupal\uc_payment\Controller\PaymentMethodController::addForm'
- _title: 'Add payment method'
- requirements:
- _permission: 'administer store'
-
- entity.uc_payment_method.edit_form:
- path: '/admin/store/config/payment/method/{uc_payment_method}'
- defaults:
- _entity_form: 'uc_payment_method'
- _title: 'Edit payment method'
- requirements:
- _permission: 'administer store'
-
- entity.uc_payment_method.enable:
- path: '/admin/store/config/payment/method/{uc_payment_method}/enable'
- defaults:
- _controller: '\Drupal\uc_payment\Controller\PaymentMethodController::performOperation'
- op: 'enable'
- requirements:
- _permission: 'administer store'
- _csrf_token: 'TRUE'
-
- entity.uc_payment_method.disable:
- path: '/admin/store/config/payment/method/{uc_payment_method}/disable'
- defaults:
- _controller: '\Drupal\uc_payment\Controller\PaymentMethodController::performOperation'
- op: 'disable'
- requirements:
- _permission: 'administer store'
- _csrf_token: 'TRUE'
-
- entity.uc_payment_method.delete_form:
- path: '/admin/store/config/payment/method/{uc_payment_method}/delete'
- defaults:
- _entity_form: 'uc_payment_method.delete'
- _title: 'Delete'
- requirements:
- _permission: 'administer store'
-
- uc_payments.order_payments:
- path: '/admin/store/orders/{uc_order}/payments'
- defaults:
- _form: '\Drupal\uc_payment\Form\OrderPaymentsForm'
- _title_callback: '\Drupal\uc_order\Controller\OrderController::pageTitle'
- requirements:
- _permission: 'view payments'
-
- uc_payments.delete:
- path: '/admin/store/orders/{uc_order}/payments/{uc_payment_receipt}/delete'
- defaults:
- _form: '\Drupal\uc_payment\Form\PaymentDeleteForm'
- requirements:
- _permission: 'delete payments'