function subscriptions_mail_template in Subscriptions 5.2
Same name and namespace in other branches
- 6 subscriptions_mail.templates.inc \subscriptions_mail_template()
- 7 subscriptions_mail.templates.inc \subscriptions_mail_template()
- 2.0.x subscriptions_mail/subscriptions_mail.templates.inc \subscriptions_mail_template()
3 calls to subscriptions_mail_template()
- subscriptions_content_form_alter in ./
subscriptions_content.module - Implementation of hook_form_alter()
- subscriptions_mail_cron in ./
subscriptions_mail.module - Implementation of hook_cron().
- _subscriptions_content_node_mailvars in ./
subscriptions_content.module - Fill given array of mailvars with given node values.
File
- ./
subscriptions_mail.templates.inc, line 85 - Subscriptions module mail templates constants.
Code
function subscriptions_mail_template($key) {
global $locale;
static $templates;
if (!isset($templates[$locale][$key])) {
$templates[$locale][$key] = subscriptions_mail_template_raw($key);
}
return $templates[$locale][$key];
}