public function EventDispatcherCollection::preResumeContext in Payment 8.2
Fires right before a payment type's context is resumed.
Parameters
\Drupal\payment\Entity\PaymentInterface $payment: The payment of which the type's context will be resumed.
Overrides EventDispatcherInterface::preResumeContext
File
- src/
EventDispatcherCollection.php, line 101
Class
- EventDispatcherCollection
- Dispatches events to a collection of event dispatchers.
Namespace
Drupal\paymentCode
public function preResumeContext(PaymentInterface $payment) {
foreach ($this->eventDispatchers as $event_dispatcher) {
$event_dispatcher
->preResumeContext($payment);
}
}