public function EventDispatcherInterface::preExecutePayment in Payment 8.2
Fires right before a payment will be executed.
Parameters
\Drupal\payment\Entity\PaymentInterface $payment: The payment that will be executed.
2 methods override EventDispatcherInterface::preExecutePayment()
- EventDispatcherCollection::preExecutePayment in src/
EventDispatcherCollection.php - Fires right before a payment will be executed.
- SymfonyEventDispatcher::preExecutePayment in src/
SymfonyEventDispatcher.php - Fires right before a payment will be executed.
File
- src/
EventDispatcherInterface.php, line 52
Class
- EventDispatcherInterface
- Defines a Payment event dispatcher.
Namespace
Drupal\paymentCode
public function preExecutePayment(PaymentInterface $payment);