You are here

public function PaymentProcess::defaultConfiguration in Commerce Core 8.2

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides CheckoutPaneBase::defaultConfiguration

File

modules/payment/src/Plugin/Commerce/CheckoutPane/PaymentProcess.php, line 90

Class

PaymentProcess
Provides the payment process pane.

Namespace

Drupal\commerce_payment\Plugin\Commerce\CheckoutPane

Code

public function defaultConfiguration() {
  return [
    'capture' => TRUE,
  ] + parent::defaultConfiguration();
}