public function PaymentGatewayInterface::getMode in Commerce Core 8.2
Gets the mode in which the payment gateway is operating.
Return value
string The machine name of the mode.
1 method overrides PaymentGatewayInterface::getMode()
- PaymentGatewayBase::getMode in modules/
payment/ src/ Plugin/ Commerce/ PaymentGateway/ PaymentGatewayBase.php - Gets the mode in which the payment gateway is operating.
File
- modules/
payment/ src/ Plugin/ Commerce/ PaymentGateway/ PaymentGatewayInterface.php, line 46
Class
- PaymentGatewayInterface
- Defines the base interface for payment gateways.
Namespace
Drupal\commerce_payment\Plugin\Commerce\PaymentGatewayCode
public function getMode();