You are here

function simplenews_simplenews_source_cache_info in Simplenews 7

Same name and namespace in other branches
  1. 7.2 simplenews.module \simplenews_simplenews_source_cache_info()

Implements hook_simplenews_source_cache_info().

Related topics

File

./simplenews.module, line 2684
Simplenews node handling, sent email, newsletter block and general hooks

Code

function simplenews_simplenews_source_cache_info() {
  return array(
    'SimplenewsSourceCacheNone' => array(
      'label' => t('No caching'),
      'description' => t('This allows to theme each newsletter separately.'),
    ),
    'SimplenewsSourceCacheBuild' => array(
      'label' => t('Cached content source'),
      'description' => t('This caches the rendered content to be sent for multiple recipients. It is not possible to use subscriber specific theming but tokens can be used for personalization.'),
    ),
  );
}