You are here

public function Login::defaultConfiguration in Commerce Core 8.2

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides CheckoutPaneBase::defaultConfiguration

File

modules/checkout/src/Plugin/Commerce/CheckoutPane/Login.php, line 124

Class

Login
Provides the login pane.

Namespace

Drupal\commerce_checkout\Plugin\Commerce\CheckoutPane

Code

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