You are here

protected function ProfileDeleteForm::getRedirectUrl in Profile 8

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

Return value

\Drupal\Core\Url The redirect URL.

Overrides EntityDeleteFormTrait::getRedirectUrl

File

src/Form/ProfileDeleteForm.php, line 49

Class

ProfileDeleteForm
Provides a confirmation form for deleting a profile entity.

Namespace

Drupal\profile\Form

Code

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