You are here

protected function AvatarKitServiceDeleteForm::getRedirectUrl in Avatar Kit 8.2

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

Return value

\Drupal\Core\Url The redirect URL.

Overrides EntityDeleteFormTrait::getRedirectUrl

1 call to AvatarKitServiceDeleteForm::getRedirectUrl()
AvatarKitServiceDeleteForm::submitForm in src/Form/Entity/AvatarKitServiceDeleteForm.php

File

src/Form/Entity/AvatarKitServiceDeleteForm.php, line 17

Class

AvatarKitServiceDeleteForm
Form to delete Avatar Kit services.

Namespace

Drupal\avatars\Form\Entity

Code

protected function getRedirectUrl() : Url {
  return Url::fromRoute('avatars.config.services');
}