You are here

public function Redirect::cancel in PayPal for Payment 8

Same name and namespace in other branches
  1. 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'
paypal_payment.routing.yml in ./paypal_payment.routing.yml
paypal_payment.routing.yml

File

src/Controller/Redirect.php, line 102

Class

Redirect
Handles the "redirect" route.

Namespace

Drupal\paypal_payment\Controller

Code

public function cancel(PaymentInterface $payment) : Response {
  return $this
    ->getResponse($payment);
}