public function CampaignMonitorListDeleteForm::getCancelUrl in Campaign Monitor 8
Same name and namespace in other branches
- 8.2 src/Form/CampaignMonitorListDeleteForm.php \Drupal\campaignmonitor\Form\CampaignMonitorListDeleteForm::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
- src/
Form/ CampaignMonitorListDeleteForm.php, line 39
Class
- CampaignMonitorListDeleteForm
- Defines a confirmation form for deleting mymodule data.
Namespace
Drupal\campaignmonitor\FormCode
public function getCancelUrl() {
return new Url('campaignmonitor.lists');
}