protected function CampaignMonitorManager::getCacheTimeout in Campaign Monitor 8.2
Create a UNIX timestamp based on the cache timeout from admin interface.
Return value
string A UNIX timestamp.
6 calls to CampaignMonitorManager::getCacheTimeout()
- CampaignMonitorManager::deleteList in src/
CampaignMonitorManager.php - Delete a list from Campaign Monitor.
- CampaignMonitorManager::getCampaigns in src/
CampaignMonitorManager.php - Get basic information about campaigns in the form of a keyed array.
- CampaignMonitorManager::getDrafts in src/
CampaignMonitorManager.php - Get basic information about drafts in the form of a keyed array.
- CampaignMonitorManager::getListStats in src/
CampaignMonitorManager.php - Fetch stats about a given list including subscribers and unsubscribers.
- CampaignMonitorManager::getSubscriber in src/
CampaignMonitorManager.php - Get values entered by the subscriber, when subscribing to a list.
File
- src/
CampaignMonitorManager.php, line 238
Class
- CampaignMonitorManager
- Manager for Campaignmonitor.
Namespace
Drupal\campaignmonitorCode
protected function getCacheTimeout() {
return time() + ($this->config
->get('cache_timeout') ? (int) $this->config
->get('cache_timeout') : 360);
}