You are here

public function PaymentReference::defaultConfiguration in Payment 8.2

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides PaymentTypeBase::defaultConfiguration

1 call to PaymentReference::defaultConfiguration()
PaymentReference::__construct in modules/payment_reference/src/Plugin/Payment/Type/PaymentReference.php
Constructs a new instance.

File

modules/payment_reference/src/Plugin/Payment/Type/PaymentReference.php, line 91

Class

PaymentReference
The payment reference field payment type.

Namespace

Drupal\payment_reference\Plugin\Payment\Type

Code

public function defaultConfiguration() {
  return array(
    'bundle' => NULL,
    'entity_type_id' => NULL,
    'field_name' => NULL,
  ) + parent::defaultConfiguration();
}