public function ImageEffectDeleteForm::getCancelUrl in Drupal 9
Same name and namespace in other branches
- 8 core/modules/image/src/Form/ImageEffectDeleteForm.php \Drupal\image\Form\ImageEffectDeleteForm::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
File
- core/
modules/ image/ src/ Form/ ImageEffectDeleteForm.php, line 47
Class
- ImageEffectDeleteForm
- Form for deleting an image effect.
Namespace
Drupal\image\FormCode
public function getCancelUrl() {
return $this->imageStyle
->toUrl('edit-form');
}