public function ShipmentPromotionOfferBase::defaultConfiguration in Commerce Shipping 8.2
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides PromotionOfferBase::defaultConfiguration
File
- src/
Plugin/ Commerce/ PromotionOffer/ ShipmentPromotionOfferBase.php, line 76
Class
- ShipmentPromotionOfferBase
- Provides the base class for shipment offers.
Namespace
Drupal\commerce_shipping\Plugin\Commerce\PromotionOfferCode
public function defaultConfiguration() {
return [
'display_inclusive' => FALSE,
'filter' => 'none',
'shipping_methods' => [],
] + parent::defaultConfiguration();
}