public function ApplyForRoleConfirmActionForm::getCancelUrl in Apply for role 8
Provides the URL to go to if the user cancels this action.
Overrides ConfirmFormInterface::getCancelUrl
File
- src/
Form/ ApplyForRoleConfirmActionForm.php, line 90
Class
Namespace
Drupal\apply_for_role\FormCode
public function getCancelUrl() {
//this needs to be a valid route otherwise the cancel link won't appear
return new Url('apply_for_role.applications_listing');
}