public function PaymentGatewayForm::defaultConfiguration in Commerce Core 8.2
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides InlineFormBase::defaultConfiguration
File
- modules/
payment/ src/ Plugin/ Commerce/ InlineForm/ PaymentGatewayForm.php, line 79
Class
- PaymentGatewayForm
- Provides a form element for embedding payment gateway forms.
Namespace
Drupal\commerce_payment\Plugin\Commerce\InlineFormCode
public function defaultConfiguration() {
return [
'operation' => NULL,
// Allows parent forms to handle exceptions themselves (in order to
// perform a redirect, or some other logic).
'catch_build_exceptions' => TRUE,
];
}