You are here

public function FilterPaymentGatewaysEvent::getPaymentGateways in Commerce Core 8.2

Gets the payment gateways.

Return value

\Drupal\commerce_payment\Entity\PaymentGatewayInterface[] The payment gateways.

File

modules/payment/src/Event/FilterPaymentGatewaysEvent.php, line 48

Class

FilterPaymentGatewaysEvent
Defines the event for filtering the available payment gateways.

Namespace

Drupal\commerce_payment\Event

Code

public function getPaymentGateways() {
  return $this->paymentGateways;
}