public function GoogleApiClientRevokeForm::getCancelUrl in Google API PHP Client 8.4
Same name and namespace in other branches
- 8.2 src/Form/GoogleApiClientRevokeForm.php \Drupal\google_api_client\Form\GoogleApiClientRevokeForm::getCancelUrl()
- 8.3 src/Form/GoogleApiClientRevokeForm.php \Drupal\google_api_client\Form\GoogleApiClientRevokeForm::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/ GoogleApiClientRevokeForm.php, line 40
Class
- GoogleApiClientRevokeForm
- Provides a form for revoking a google_api_client entity.
Namespace
Drupal\google_api_client\FormCode
public function getCancelUrl() {
return new Url('entity.google_api_client.collection');
}