You are here

public function MailchimpListsUpdateMergevarsForm::getCancelUrl in Mailchimp 8

Same name and namespace in other branches
  1. 2.x modules/mailchimp_lists/src/Form/MailchimpListsUpdateMergevarsForm.php \Drupal\mailchimp_lists\Form\MailchimpListsUpdateMergevarsForm::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/MailchimpListsUpdateMergevarsForm.php, line 78

Class

MailchimpListsUpdateMergevarsForm
Batch update Mailchimp lists mergevars.

Namespace

Drupal\mailchimp_lists\Form

Code

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