You are here

protected function PayflowLink::getDefaultForms in Commerce PayPal 8

Gets the default payment gateway forms.

Return value

array A list of plugin form classes keyed by operation.

Overrides PaymentGatewayBase::getDefaultForms

File

src/Plugin/Commerce/PaymentGateway/PayflowLink.php, line 506

Class

PayflowLink
Provides the PayPal Payflow Link payment gateway.

Namespace

Drupal\commerce_paypal\Plugin\Commerce\PaymentGateway

Code

protected function getDefaultForms() {
  $default_forms = parent::getDefaultForms();
  $default_forms['reference-payment'] = 'Drupal\\commerce_paypal\\PluginForm\\PaymentReferenceForm';
  return $default_forms;
}