public function PaymentForm::defaultConfiguration in Payment 8.2
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides PaymentTypeBase::defaultConfiguration
File
- modules/
payment_form/ src/ Plugin/ Payment/ Type/ PaymentForm.php, line 78
Class
- PaymentForm
- The payment form field payment type.
Namespace
Drupal\payment_form\Plugin\Payment\TypeCode
public function defaultConfiguration() {
return [
'bundle' => NULL,
'destination_url' => NULL,
'entity_type_id' => NULL,
'field_name' => NULL,
] + parent::defaultConfiguration();
}