You are here

public function Onsite::defaultConfiguration in Commerce Core 8.2

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides PaymentGatewayBase::defaultConfiguration

File

modules/payment_example/src/Plugin/Commerce/PaymentGateway/Onsite.php, line 51

Class

Onsite
Provides the On-site payment gateway.

Namespace

Drupal\commerce_payment_example\Plugin\Commerce\PaymentGateway

Code

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