public function CampaignMonitorListsController::listDisable in Campaign Monitor 8
Same name and namespace in other branches
- 8.2 src/Controller/CampaignMonitorListsController.php \Drupal\campaignmonitor\Controller\CampaignMonitorListsController::listDisable()
1 string reference to 'CampaignMonitorListsController::listDisable'
File
- src/
Controller/ CampaignMonitorListsController.php, line 134
Class
- CampaignMonitorListsController
- Campaign Monitor Lists controller.
Namespace
Drupal\campaignmonitor\ControllerCode
public function listDisable($list_id) {
$this
->verifyAccess();
$this
->listToggleEnable($list_id);
drupal_set_message('list disabled');
return new RedirectResponse('/admin/config/services/campaignmonitor/lists');
}