You are here

public function ShurlyDeactivateForm::getCancelUrl in ShURLy 8

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

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

File

src/Form/ShurlyDeactivateForm.php, line 55

Class

ShurlyDeactivateForm
ShurlyDeactivateForm.

Namespace

Drupal\shurly\Form

Code

public function getCancelUrl() {
  return new Url('shurly.deactivate');
}