public function IngredientDeleteForm::getCancelUrl in Recipe 8.2
If the delete command is canceled, return to the ingredient list.
Overrides ConfirmFormInterface::getCancelUrl
File
- modules/
ingredient/ src/ Form/ IngredientDeleteForm.php, line 67
Class
- IngredientDeleteForm
- Provides a form for deleting an ingredient.
Namespace
Drupal\ingredient\FormCode
public function getCancelUrl() {
return new Url('ingredient.admin');
}