public function WorkspaceUnarchiveForm::getCancelUrl in Workspace 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/ WorkspaceUnarchiveForm.php, line 98
Class
- WorkspaceUnarchiveForm
- Handle workspace unarchive on administrative pages.
Namespace
Drupal\workspace\FormCode
public function getCancelUrl() {
return new Url('entity.workspace.archived');
}