You are here

public function CouponRedemption::defaultConfiguration in Commerce Core 8.2

Same name in this branch
  1. 8.2 modules/promotion/src/Plugin/Commerce/CheckoutPane/CouponRedemption.php \Drupal\commerce_promotion\Plugin\Commerce\CheckoutPane\CouponRedemption::defaultConfiguration()
  2. 8.2 modules/promotion/src/Plugin/Commerce/InlineForm/CouponRedemption.php \Drupal\commerce_promotion\Plugin\Commerce\InlineForm\CouponRedemption::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides CheckoutPaneBase::defaultConfiguration

File

modules/promotion/src/Plugin/Commerce/CheckoutPane/CouponRedemption.php, line 70

Class

CouponRedemption
Provides the coupon redemption pane.

Namespace

Drupal\commerce_promotion\Plugin\Commerce\CheckoutPane

Code

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