public function PaymentOffsiteForm::__construct in Commerce PayPal 8
Constructs a new PaymentOffsiteForm object.
Parameters
\Drupal\commerce_paypal\SmartPaymentButtonsBuilderInterface $builder: The Smart payment buttons builder.
File
- src/
PluginForm/ Checkout/ PaymentOffsiteForm.php, line 31
Class
- PaymentOffsiteForm
- Provides the Off-site form for PayPal Checkout.
Namespace
Drupal\commerce_paypal\PluginForm\CheckoutCode
public function __construct(SmartPaymentButtonsBuilderInterface $builder) {
$this->builder = $builder;
}