You are here

public function EcReviewForm::__construct in Ubercart 8.4

Form constructor.

Parameters

\Drupal\uc_payment\Plugin\PaymentMethodManager $payment_method_manager: The payment method plugin manager.

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

File

payment/uc_paypal/src/Form/EcReviewForm.php, line 46

Class

EcReviewForm
Returns the form for the custom Review Payment screen for Express Checkout.

Namespace

Drupal\uc_paypal\Form

Code

public function __construct(PaymentMethodManager $payment_method_manager, SessionInterface $session) {
  $this->paymentMethodManager = $payment_method_manager;
  $this->session = $session;
}