You are here

public function FormsStepsStepDeleteForm::getCancelUrl in Forms Steps 8

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

1 call to FormsStepsStepDeleteForm::getCancelUrl()
FormsStepsStepDeleteForm::submitForm in src/Form/FormsStepsStepDeleteForm.php
Form submission handler.

File

src/Form/FormsStepsStepDeleteForm.php, line 50

Class

FormsStepsStepDeleteForm
Builds the form to delete steps from FormsSteps entities.

Namespace

Drupal\forms_steps\Form

Code

public function getCancelUrl() {
  return $this->formsSteps
    ->toUrl();
}