You are here

public function CheckoutFlowInterface::getNextStepId in Commerce Core 8.2

Gets the next step ID for the given step ID.

Note that we’re not calling getVisibleSteps() on purpose here to bypass its static caching which may no longer be valid due to previous panes altering the order.

Parameters

string $step_id: The step ID.

Return value

string|null The next step ID, or NULL if there is none.

1 method overrides CheckoutFlowInterface::getNextStepId()
CheckoutFlowBase::getNextStepId in modules/checkout/src/Plugin/Commerce/CheckoutFlow/CheckoutFlowBase.php
Gets the next step ID for the given step ID.

File

modules/checkout/src/Plugin/Commerce/CheckoutFlow/CheckoutFlowInterface.php, line 58

Class

CheckoutFlowInterface
Places an order through a series of steps.

Namespace

Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow

Code

public function getNextStepId($step_id);