public function PaymentMethodPane::__construct in Ubercart 8.4
Constructs a PaymentMethodPane object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin ID for the plugin instance.
array $plugin_definition: The plugin implementation definition.
\Drupal\uc_payment\Plugin\PaymentMethodManager $payment_method_manager: The payment method manager.
Overrides CheckoutPanePluginBase::__construct
File
- payment/
uc_payment/ src/ Plugin/ Ubercart/ CheckoutPane/ PaymentMethodPane.php, line 45
Class
- PaymentMethodPane
- Allows the user to select a payment method and preview the line items.
Namespace
Drupal\uc_payment\Plugin\Ubercart\CheckoutPaneCode
public function __construct(array $configuration, $plugin_id, array $plugin_definition, PaymentMethodManager $payment_method_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->paymentMethodManager = $payment_method_manager;
}