You are here

public function DeleteExpressionForm::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

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

File

src/Form/DeleteExpressionForm.php, line 71

Class

DeleteExpressionForm
Removes an expression from a rule.

Namespace

Drupal\rules\Form

Code

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