public function PaymentForm::setPaymentMethodPluginType in Payment 8.2
Sets the payment method plugin type.
Parameters
\Drupal\plugin\PluginType\PluginTypeInterface $payment_method_type: The plugin type.
File
- modules/
payment_form/ src/ Entity/ Payment/ PaymentForm.php, line 75
Class
- PaymentForm
- Provides the payment form.
Namespace
Drupal\payment_form\Entity\PaymentCode
public function setPaymentMethodPluginType(PluginTypeInterface $payment_method_type) {
$this->paymentMethodType = $payment_method_type;
}