You are here

public function ServerDeleteConfirmForm::getCancelUrl in OAuth2 Server 8

Same name and namespace in other branches
  1. 2.0.x src/Form/ServerDeleteConfirmForm.php \Drupal\oauth2_server\Form\ServerDeleteConfirmForm::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/ServerDeleteConfirmForm.php, line 33

Class

ServerDeleteConfirmForm
Class Server Delete Confirm Form.

Namespace

Drupal\oauth2_server\Form

Code

public function getCancelUrl() {
  return new Url('oauth2_server.overview');
}