abstract protected function PaymentMethodBase::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.
1 call to PaymentMethodBase::getSupportedCurrencies()
- PaymentMethodBase::executePaymentAccessCurrency in src/
Plugin/ Payment/ Method/ PaymentMethodBase.php - Checks a payment's currency against this plugin.
2 methods override PaymentMethodBase::getSupportedCurrencies()
- Basic::getSupportedCurrencies in src/
Plugin/ Payment/ Method/ Basic.php - Returns the supported currencies.
- PaymentTestNoResponse::getSupportedCurrencies in modules/
payment_test/ src/ Plugin/ Payment/ Method/ PaymentTestNoResponse.php - Returns the supported currencies.
File
- src/
Plugin/ Payment/ Method/ PaymentMethodBase.php, line 399
Class
- PaymentMethodBase
- A base payment method plugin.
Namespace
Drupal\payment\Plugin\Payment\MethodCode
protected abstract function getSupportedCurrencies();