You are here

public function MolliePayment::defaultConfiguration in Mollie Payment 8.2

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides PaymentMethodConfigurationBase::defaultConfiguration

1 call to MolliePayment::defaultConfiguration()
MolliePayment::__construct in src/Plugin/Payment/MethodConfiguration/MolliePayment.php
Constructs a new instance.

File

src/Plugin/Payment/MethodConfiguration/MolliePayment.php, line 84

Class

MolliePayment
Provides the configuration for the mollie_payment payment method plugin.

Namespace

Drupal\mollie_payment\Plugin\Payment\MethodConfiguration

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'brand_label' => '',
    'execute_status_id' => 'payment_pending',
    'capture' => FALSE,
    'capture_status_id' => 'payment_success',
    'refund' => FALSE,
    'refund_status_id' => 'payment_refunded',
  ];
}