You are here

public function WebhookEnableForm::getCancelUrl in Acquia Content Hub 8.2

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

File

modules/acquia_contenthub_publisher/src/Form/Webhook/WebhookEnableForm.php, line 112

Class

WebhookEnableForm
Class WebhookEnableForm.

Namespace

Drupal\acquia_contenthub_publisher\Form\Webhook

Code

public function getCancelUrl() {
  return new Url('acquia_contenthub.subscription_settings');
}