You are here

public function CheckoutFlowWithPanesInterface::getVisiblePanes in Commerce Core 8.2

Gets the visible panes for the given step ID.

Parameters

string $step_id: The step ID.

Return value

\Drupal\commerce_checkout\Plugin\Commerce\CheckoutPane\CheckoutPaneInterface[] The panes, keyed by pane id, ordered by weight.

1 method overrides CheckoutFlowWithPanesInterface::getVisiblePanes()
CheckoutFlowWithPanesBase::getVisiblePanes in modules/checkout/src/Plugin/Commerce/CheckoutFlow/CheckoutFlowWithPanesBase.php
Gets the visible panes for the given step ID.

File

modules/checkout/src/Plugin/Commerce/CheckoutFlow/CheckoutFlowWithPanesInterface.php, line 27

Class

CheckoutFlowWithPanesInterface
Defines the interface for checkout flows which have panes.

Namespace

Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow

Code

public function getVisiblePanes($step_id);