You are here

public function ActionDeleteForm::getCancelUrl in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/action/src/Form/ActionDeleteForm.php \Drupal\action\Form\ActionDeleteForm::getCancelUrl()

Overrides EntityDeleteFormTrait::getCancelUrl

File

core/modules/action/src/Form/ActionDeleteForm.php, line 18

Class

ActionDeleteForm
Builds a form to delete an action.

Namespace

Drupal\action\Form

Code

public function getCancelUrl() {
  return new Url('entity.action.collection');
}