You are here

public function PaymentMethodPane::defaultConfiguration in Ubercart 8.4

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides CheckoutPanePluginBase::defaultConfiguration

File

payment/uc_payment/src/Plugin/Ubercart/CheckoutPane/PaymentMethodPane.php, line 203

Class

PaymentMethodPane
Allows the user to select a payment method and preview the line items.

Namespace

Drupal\uc_payment\Plugin\Ubercart\CheckoutPane

Code

public function defaultConfiguration() {
  return [
    'show_preview' => TRUE,
  ];
}