You are here

public function AvatarKitServiceDeleteForm::submitForm in Avatar Kit 8.2

Overrides EntityDeleteFormTrait::submitForm

File

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

Class

AvatarKitServiceDeleteForm
Form to delete Avatar Kit services.

Namespace

Drupal\avatars\Form\Entity

Code

public function submitForm(array &$form, FormStateInterface $form_state) : void {
  parent::submitForm($form, $form_state);
  $form_state
    ->setRedirectUrl($this
    ->getRedirectUrl());
}