You are here

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

Class

GauthDeleteForm
Provides a form for deleting a gauth entity.

Namespace

Drupal\gauth\Form

Code

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