public function PurchaseOrderGateway::defaultConfiguration in Commerce Purchase Order 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides PaymentGatewayBase::defaultConfiguration
File
- src/
Plugin/ Commerce/ PaymentGateway/ PurchaseOrderGateway.php, line 46
Class
- PurchaseOrderGateway
- Provides the On-site payment gateway.
Namespace
Drupal\commerce_purchase_order\Plugin\Commerce\PaymentGatewayCode
public function defaultConfiguration() {
return [
'instructions' => [
'value' => '',
'format' => 'plain_text',
],
'limit_open' => 1.0,
'user_approval' => TRUE,
'payment_method_types' => [
'purchase_order',
],
] + parent::defaultConfiguration();
}