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\FormCode
public function getCancelUrl() {
return new Url('shurly.deactivate');
}