function DeleteExpressionForm::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 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\FormCode
public function getCancelUrl() {
return $this->rulesUiHandler
->getBaseRouteUrl();
}