You are here

public function CheckoutForm::__construct in Ubercart 8.4

Constructs a CheckoutController.

Parameters

\Drupal\uc_cart\Plugin\CheckoutPaneManager $checkout_pane_manager: The checkout pane plugin manager.

\Symfony\Component\HttpFoundation\Session\SessionInterface $session: The session.

\Drupal\Component\Datetime\TimeInterface $date_time: The datetime.time service.

File

uc_cart/src/Form/CheckoutForm.php, line 51

Class

CheckoutForm
The checkout form built up from the enabled checkout panes.

Namespace

Drupal\uc_cart\Form

Code

public function __construct(CheckoutPaneManager $checkout_pane_manager, SessionInterface $session, TimeInterface $date_time) {
  $this->checkoutPaneManager = $checkout_pane_manager;
  $this->session = $session;
  $this->dateTime = $date_time;
}