public function DemoDeleteConfirm::getCancelUrl in Demonstration site (Sandbox / Snapshot) 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/ DemoDeleteConfirm.php, line 62
Class
- DemoDeleteConfirm
- This class return the demo_delete_confirm, a form where you will be asked to be sure to delete your config file.
Namespace
Drupal\demo\FormCode
public function getCancelUrl() {
return new Url('demo.manage_form');
}