function ActionDeleteForm::getCancelUrl

Same name in other branches
  1. 9 core/modules/action/src/Form/ActionDeleteForm.php \Drupal\action\Form\ActionDeleteForm::getCancelUrl()
  2. 8.9.x core/modules/action/src/Form/ActionDeleteForm.php \Drupal\action\Form\ActionDeleteForm::getCancelUrl()
  3. 11.x 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');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.