You are here

public function OrderItemPromotionOfferBase::defaultConfiguration in Commerce Core 8.2

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides PromotionOfferBase::defaultConfiguration

File

modules/promotion/src/Plugin/Commerce/PromotionOffer/OrderItemPromotionOfferBase.php, line 16

Class

OrderItemPromotionOfferBase
Provides the base class for order item offers.

Namespace

Drupal\commerce_promotion\Plugin\Commerce\PromotionOffer

Code

public function defaultConfiguration() {
  return [
    'display_inclusive' => TRUE,
    'conditions' => [],
  ] + parent::defaultConfiguration();
}