You are here

public function AbjsConditionDeleteConfirmForm::getCancelUrl in A/B Test JS 8

Same name and namespace in other branches
  1. 2.0.x 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');
}