You are here

public function ConfirmClearReplicationQueueForm::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

1 call to ConfirmClearReplicationQueueForm::getCancelUrl()
ConfirmClearReplicationQueueForm::submitForm in src/Form/ConfirmClearReplicationQueueForm.php
Form submission handler.

File

src/Form/ConfirmClearReplicationQueueForm.php, line 104

Class

ConfirmClearReplicationQueueForm
Class ConfirmClearReplicationQueueForm.

Namespace

Drupal\workspace\Form

Code

public function getCancelUrl() {
  return new Url('replication.settings_form');
}