You are here

public function GauthRevokeForm::getCancelUrl in Google Auth 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/GauthRevokeForm.php, line 42

Class

GauthRevokeForm
Provides a form for revoking a gauth entity.

Namespace

Drupal\gauth\Form

Code

public function getCancelUrl() {
  return new Url('entity.gauth.collection');
}