public function MailchimpListsClearCacheForm::getCancelUrl in Mailchimp 8
Same name and namespace in other branches
- 2.x modules/mailchimp_lists/src/Form/MailchimpListsClearCacheForm.php \Drupal\mailchimp_lists\Form\MailchimpListsClearCacheForm::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
- modules/
mailchimp_lists/ src/ Form/ MailchimpListsClearCacheForm.php, line 66
Class
- MailchimpListsClearCacheForm
- Clear Mailchimp lists cache.
Namespace
Drupal\mailchimp_lists\FormCode
public function getCancelUrl() {
return Url::fromRoute('mailchimp_lists.overview');
}