You are here

public function MailchimpListsClearCacheForm::getCancelUrl in Mailchimp 2.x

Same name and namespace in other branches
  1. 8 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\Form

Code

public function getCancelUrl() {
  return Url::fromRoute('mailchimp_lists.overview');
}