You are here

protected function YamlFormSubmissionDeleteForm::getRedirectUrl in YAML Form 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/YamlFormSubmissionDeleteForm.php, line 104

Class

YamlFormSubmissionDeleteForm
Provides a confirmation form for deleting a form submission.

Namespace

Drupal\yamlform\Form

Code

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