commerce_checkout.routing.yml in Commerce Core 8.2
modules/checkout/commerce_checkout.routing.yml
14 string references to YAML keys in commerce_checkout.routing.yml
- CheckoutAccessTest::createRequest in modules/
checkout/ tests/ src/ Kernel/ CheckoutAccessTest.php - Creates a request for the order's checkout form.
- CheckoutController::checkoutRedirect in modules/
checkout/ src/ Controller/ CheckoutController.php - Convenience method to send user to checkout via a parameter-free route.
- CheckoutController::formPage in modules/
checkout/ src/ Controller/ CheckoutController.php - Builds and processes the form provided by the order's checkout flow.
- CheckoutFlowBase::submitForm in modules/
checkout/ src/ Plugin/ Commerce/ CheckoutFlow/ CheckoutFlowBase.php - Form submission handler.
- CheckoutOrderManagerTest::setUp in modules/
checkout/ tests/ src/ Kernel/ CheckoutOrderManagerTest.php
File
modules/checkout/commerce_checkout.routing.ymlView source
- commerce_checkout.form:
- path: '/checkout/{commerce_order}/{step}'
- defaults:
- _controller: '\Drupal\commerce_checkout\Controller\CheckoutController::formPage'
- _title: 'Checkout'
- step: null
- requirements:
- _custom_access: '\Drupal\commerce_checkout\Controller\CheckoutController::checkAccess'
- options:
- parameters:
- commerce_order:
- type: entity:commerce_order
-
- commerce_checkout.checkout:
- path: '/checkout'
- defaults:
- _controller: '\Drupal\commerce_checkout\Controller\CheckoutController::checkoutRedirect'
- requirements:
- _permission: 'access checkout'
- options:
- no_cache: TRUE