public function CheckoutFlowInterface::redirectToStep in Commerce Core 8.2
Redirects an order to a specific step in the checkout.
Parameters
string $step_id: The step ID to redirect to.
Throws
\Drupal\commerce\Response\NeedsRedirectException
1 method overrides CheckoutFlowInterface::redirectToStep()
- CheckoutFlowBase::redirectToStep in modules/
checkout/ src/ Plugin/ Commerce/ CheckoutFlow/ CheckoutFlowBase.php - Redirects an order to a specific step in the checkout.
File
- modules/
checkout/ src/ Plugin/ Commerce/ CheckoutFlow/ CheckoutFlowInterface.php, line 68
Class
- CheckoutFlowInterface
- Places an order through a series of steps.
Namespace
Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlowCode
public function redirectToStep($step_id);