You are here

public function Basic::getSupportedCurrencies in Payment 8.2

Returns the supported currencies.

Return value

\Drupal\payment\Plugin\Payment\Method\SupportedCurrencyInterface[]|true Return TRUE to allow all currencies and amounts.

Overrides PaymentMethodBase::getSupportedCurrencies

File

src/Plugin/Payment/Method/Basic.php, line 82

Class

Basic
A basic payment method that does not transfer money.

Namespace

Drupal\payment\Plugin\Payment\Method

Code

public function getSupportedCurrencies() {
  return TRUE;
}