public function Redirect::cancel in PayPal for Payment 8
Same name and namespace in other branches
- 2.0.x src/Controller/Redirect.php \Drupal\paypal_payment\Controller\Redirect::cancel()
Parameters
\Drupal\payment\Entity\PaymentInterface $payment:
Return value
\Symfony\Component\HttpFoundation\Response
1 string reference to 'Redirect::cancel'
File
- src/
Controller/ Redirect.php, line 102
Class
- Redirect
- Handles the "redirect" route.
Namespace
Drupal\paypal_payment\ControllerCode
public function cancel(PaymentInterface $payment) : Response {
return $this
->getResponse($payment);
}