You are here

public function ExchangerProviderBase::getMode in Commerce Exchanger 8

File

src/Plugin/Commerce/ExchangerProvider/ExchangerProviderBase.php, line 155

Class

ExchangerProviderBase
Base class for Commerce exchanger provider plugins.

Namespace

Drupal\commerce_exchanger\Plugin\Commerce\ExchangerProvider

Code

public function getMode() {
  return $this->configuration['mode'] ?? 'live';
}