You are here

public function Square::defaultConfiguration in Commerce Square Connect 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides PaymentGatewayBase::defaultConfiguration

File

src/Plugin/Commerce/PaymentGateway/Square.php, line 88

Class

Square
Provides the Square payment gateway.

Namespace

Drupal\commerce_square\Plugin\Commerce\PaymentGateway

Code

public function defaultConfiguration() {
  $default_configuration = [
    'test_location_id' => '',
    'live_location_id' => '',
  ];
  return $default_configuration + parent::defaultConfiguration();
}