You are here

public function RuleDeleteConfirmForm::getCancelUrl in CRM Core 8.3

Same name and namespace in other branches
  1. 8 modules/crm_core_user_sync/src/Form/RuleDeleteConfirmForm.php \Drupal\crm_core_user_sync\Form\RuleDeleteConfirmForm::getCancelUrl()

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

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

1 call to RuleDeleteConfirmForm::getCancelUrl()
RuleDeleteConfirmForm::submitForm in modules/crm_core_user_sync/src/Form/RuleDeleteConfirmForm.php
Form submission handler.

File

modules/crm_core_user_sync/src/Form/RuleDeleteConfirmForm.php, line 39

Class

RuleDeleteConfirmForm
Provides a confirmation form before clearing out the examples.

Namespace

Drupal\crm_core_user_sync\Form

Code

public function getCancelUrl() {
  return new Url('crm_core_user_sync.config');
}