public function DeleteMultiple::getCancelUrl in Drupal 10
Same name and namespace in other branches
- 8 core/modules/node/src/Form/DeleteMultiple.php \Drupal\node\Form\DeleteMultiple::getCancelUrl()
- 9 core/modules/node/src/Form/DeleteMultiple.php \Drupal\node\Form\DeleteMultiple::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides DeleteMultipleForm::getCancelUrl
File
- core/
modules/ node/ src/ Form/ DeleteMultiple.php, line 18
Class
- DeleteMultiple
- Provides a node deletion confirmation form.
Namespace
Drupal\node\FormCode
public function getCancelUrl() {
return new Url('system.admin_content');
}