You are here

public function OrderFields::defaultConfiguration in Commerce Checkout Order Fields 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides CheckoutPaneBase::defaultConfiguration

File

src/Plugin/Commerce/CheckoutPane/OrderFields.php, line 23

Class

OrderFields
Exposes the "Checkout" form view mode during checkout.

Namespace

Drupal\commerce_checkout_order_fields\Plugin\Commerce\CheckoutPane

Code

public function defaultConfiguration() {
  return [
    'wrapper_element' => 'container',
    'display_label' => $this->pluginDefinition['display_label'],
  ] + parent::defaultConfiguration();
}