public function GoogleImageSitemapDeleteConfirmForm::getCancelUrl in Google Image Sitemap 8
Same name and namespace in other branches
- 2.0.x src/Form/GoogleImageSitemapDeleteConfirmForm.php \Drupal\google_image_sitemap\Form\GoogleImageSitemapDeleteConfirmForm::getCancelUrl()
- 1.0.x src/Form/GoogleImageSitemapDeleteConfirmForm.php \Drupal\google_image_sitemap\Form\GoogleImageSitemapDeleteConfirmForm::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
1 call to GoogleImageSitemapDeleteConfirmForm::getCancelUrl()
- GoogleImageSitemapDeleteConfirmForm::submitForm in src/
Form/ GoogleImageSitemapDeleteConfirmForm.php - Form submission handler.
File
- src/
Form/ GoogleImageSitemapDeleteConfirmForm.php, line 61
Class
- GoogleImageSitemapDeleteConfirmForm
- Provides a confirmation form before clearing out the logs.
Namespace
Drupal\google_image_sitemap\FormCode
public function getCancelUrl() {
return new Url('google_image_sitemap.list');
}