You are here

public function CheckoutCompletionRegisterEvent::getRedirectUrl in Commerce Core 8.2

Gets the redirect URL.

Used to redirect the customer after the account has been created.

Return value

\Drupal\Core\Url|null The redirect url, if set. NULL otherwise.

File

modules/checkout/src/Event/CheckoutCompletionRegisterEvent.php, line 79

Class

CheckoutCompletionRegisterEvent
Defines the checkout completion register event.

Namespace

Drupal\commerce_checkout\Event

Code

public function getRedirectUrl() {
  return $this->redirect;
}