You are here

public function PaymentTypeBase::setConfiguration in Payment 8.2

Sets the configuration for this plugin instance.

Parameters

array $configuration: An associative array containing the plugin's configuration.

Overrides ConfigurableInterface::setConfiguration

File

src/Plugin/Payment/Type/PaymentTypeBase.php, line 76

Class

PaymentTypeBase
Defines base payment type.

Namespace

Drupal\payment\Plugin\Payment\Type

Code

public function setConfiguration(array $configuration) {
  $this->configuration = $configuration + $this
    ->defaultConfiguration();
}