public function PaymentGatewayForm::__construct in Commerce Core 8.2
Same name in this branch
- 8.2 modules/payment/src/Form/PaymentGatewayForm.php \Drupal\commerce_payment\Form\PaymentGatewayForm::__construct()
- 8.2 modules/payment/src/Plugin/Commerce/InlineForm/PaymentGatewayForm.php \Drupal\commerce_payment\Plugin\Commerce\InlineForm\PaymentGatewayForm::__construct()
Constructs a new PaymentGatewayForm object.
Parameters
\Drupal\commerce_payment\PaymentGatewayManager $plugin_manager: The payment gateway plugin manager.
\Drupal\commerce\InlineFormManager $inline_form_manager: The inline form manager.
File
- modules/
payment/ src/ Form/ PaymentGatewayForm.php, line 39
Class
Namespace
Drupal\commerce_payment\FormCode
public function __construct(PaymentGatewayManager $plugin_manager, InlineFormManager $inline_form_manager) {
$this->pluginManager = $plugin_manager;
$this->inlineFormManager = $inline_form_manager;
}