public ActionDeleteForm::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides EntityDeleteFormTrait::getCancelUrl
File
- core/modules/action/src/Form/ActionDeleteForm.php, line 16
Class
- ActionDeleteForm
- Builds a form to delete an action.
Namespace
Drupal\action\Form
Code
public function getCancelUrl() { return new Url('entity.action.collection'); }
Please login to continue.