public function OffsitePaymentMethodForm::__construct in Ubercart 8.4
Constructs the form.
Parameters
\Drupal\uc_payment\OffsitePaymentMethodPluginInterface $plugin: The payment method plugin.
File
- payment/
uc_payment/ src/ Form/ OffsitePaymentMethodForm.php, line 28
Class
- OffsitePaymentMethodForm
- Builds the form that payment methods use to redirect off-site.
Namespace
Drupal\uc_payment\FormCode
public function __construct(OffsitePaymentMethodPluginInterface $plugin) {
$this->plugin = $plugin;
}