You are here

public function UpdateForm::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/UpdateForm.php, line 158

Class

UpdateForm
The form to update the current workspace with its upstream.

Namespace

Drupal\workspace\Form

Code

public function getCancelUrl() {
  return new Url('system.admin');
}