You are here

public function ServerDisableConfirmForm::getCancelUrl in OAuth2 Server 8

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

Class

ServerDisableConfirmForm
Class Server Disable Confirm Form.

Namespace

Drupal\oauth2_server\Form

Code

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