You are here

public function OrderStore::defaultConfiguration in Commerce Core 8.2

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConditionBase::defaultConfiguration

File

modules/order/src/Plugin/Commerce/Condition/OrderStore.php, line 66

Class

OrderStore
Provides the store condition for orders.

Namespace

Drupal\commerce_order\Plugin\Commerce\Condition

Code

public function defaultConfiguration() {
  return [
    // The store UUIDs.
    'stores' => [],
  ] + parent::defaultConfiguration();
}