You are here

public function CampaignMonitorManager::listKey in Campaign Monitor 8.2

Helper function to determine config var name for list options.

Parameters

string $list_id: The Campaign Monitor list ID.

Return value

string Config variable name.

2 calls to CampaignMonitorManager::listKey()
CampaignMonitorManager::getListSettings in src/CampaignMonitorManager.php
Gets the settings for a list.
CampaignMonitorManager::setListSettings in src/CampaignMonitorManager.php
Sets the config for a list.

File

src/CampaignMonitorManager.php, line 476

Class

CampaignMonitorManager
Manager for Campaignmonitor.

Namespace

Drupal\campaignmonitor

Code

public function listKey($list_id) {
  return 'campaignmonitor_list_' . $list_id;
}