You are here

protected function ProfileAddressBookDeleteForm::getRedirectUrl in Commerce Core 8.2

Returns the URL where the user should be redirected after deletion.

Return value

\Drupal\Core\Url The redirect URL.

Overrides EntityDeleteFormTrait::getRedirectUrl

File

modules/order/src/Form/ProfileAddressBookDeleteForm.php, line 48

Class

ProfileAddressBookDeleteForm
Provides a confirmation form for deleting a profile from the address book.

Namespace

Drupal\commerce_order\Form

Code

protected function getRedirectUrl() {
  return $this
    ->getCancelUrl();
}