You are here

public function GoogleApiServiceClientDeleteForm::getCancelUrl in Google API PHP Client 8.3

Same name and namespace in other branches
  1. 8.4 src/Form/GoogleApiServiceClientDeleteForm.php \Drupal\google_api_client\Form\GoogleApiServiceClientDeleteForm::getCancelUrl()

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/GoogleApiServiceClientDeleteForm.php, line 40

Class

GoogleApiServiceClientDeleteForm
Provides a form for deleting a google_api_service_client entity.

Namespace

Drupal\google_api_client\Form

Code

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