You are here

protected function CheckoutFlowWithPanesBase::getPaneConfiguration in Commerce Core 8.2

Gets the configuration for the given pane.

Parameters

string $pane_id: The pane ID.

Return value

array The pane configuration.

1 call to CheckoutFlowWithPanesBase::getPaneConfiguration()
CheckoutFlowWithPanesBase::getPanes in modules/checkout/src/Plugin/Commerce/CheckoutFlow/CheckoutFlowWithPanesBase.php
Gets the panes.

File

modules/checkout/src/Plugin/Commerce/CheckoutFlow/CheckoutFlowWithPanesBase.php, line 174

Class

CheckoutFlowWithPanesBase
Provides a base checkout flow that uses checkout panes.

Namespace

Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow

Code

protected function getPaneConfiguration($pane_id) {
  $pane_configuration = [];
  if (isset($this->configuration['panes'][$pane_id])) {
    $pane_configuration = $this->configuration['panes'][$pane_id];
  }
  return $pane_configuration;
}