You are here

public function CheckoutFlowWithPanesBase::__construct in Commerce Core 8.2

Constructs a new CheckoutFlowWithPanesBase object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $pane_id: The plugin_id for the plugin instance.

mixed $pane_definition: The plugin implementation definition.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher.

\Drupal\Core\Routing\RouteMatchInterface $route_match: The route match.

\Drupal\commerce_checkout\CheckoutPaneManager $pane_manager: The checkout pane manager.

Overrides CheckoutFlowBase::__construct

File

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

Class

CheckoutFlowWithPanesBase
Provides a base checkout flow that uses checkout panes.

Namespace

Drupal\commerce_checkout\Plugin\Commerce\CheckoutFlow

Code

public function __construct(array $configuration, $pane_id, $pane_definition, EntityTypeManagerInterface $entity_type_manager, EventDispatcherInterface $event_dispatcher, RouteMatchInterface $route_match, CheckoutPaneManager $pane_manager) {
  $this->paneManager = $pane_manager;
  parent::__construct($configuration, $pane_id, $pane_definition, $entity_type_manager, $event_dispatcher, $route_match);
}