You are here

public function BreakLockForm::getCancelUrl in Rules 8.3

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/BreakLockForm.php, line 88

Class

BreakLockForm
Builds the form to break the lock of an edited rule.

Namespace

Drupal\rules\Form

Code

public function getCancelUrl() {
  return $this->rulesUiHandler
    ->getBaseRouteUrl();
}