You are here

public function FormsStepsProgressStepDeleteForm::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 FormsStepsProgressStepDeleteForm::getCancelUrl()
FormsStepsProgressStepDeleteForm::submitForm in src/Form/FormsStepsProgressStepDeleteForm.php
Form submission handler.

File

src/Form/FormsStepsProgressStepDeleteForm.php, line 50

Class

FormsStepsProgressStepDeleteForm
Builds the form to delete progress steps from FormsSteps entities.

Namespace

Drupal\forms_steps\Form

Code

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