You are here

public function AbjsConditionDeleteConfirmForm::getCancelUrl in A/B Test JS 2.0.x

Same name and namespace in other branches
  1. 8 src/Form/AbjsConditionDeleteConfirmForm.php \Drupal\abjs\Form\AbjsConditionDeleteConfirmForm::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/AbjsConditionDeleteConfirmForm.php, line 62

Class

AbjsConditionDeleteConfirmForm
Class for confirm delete condition.

Namespace

Drupal\abjs\Form

Code

public function getCancelUrl() {
  return new Url('abjs.condition_admin');
}