You are here

public function PaymentMethodBase::defaultConfiguration in Payment 8.2

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

3 calls to PaymentMethodBase::defaultConfiguration()
Basic::__construct in src/Plugin/Payment/Method/Basic.php
Constructs a new instance.
PaymentMethodBase::setConfiguration in src/Plugin/Payment/Method/PaymentMethodBase.php
Sets the configuration for this plugin instance.
PaymentMethodBase::__construct in src/Plugin/Payment/Method/PaymentMethodBase.php
Constructs a new instance.

File

src/Plugin/Payment/Method/PaymentMethodBase.php, line 124

Class

PaymentMethodBase
A base payment method plugin.

Namespace

Drupal\payment\Plugin\Payment\Method

Code

public function defaultConfiguration() {
  return [];
}