function subscriptions_content_mailkeys in Subscriptions 6
Same name and namespace in other branches
- 5.2 subscriptions_content.module \subscriptions_content_mailkeys()
Implementation of hook_mailkeys().
Provide mailkeys for mail_edit.
File
- ./
subscriptions_content.module, line 1056 - Subscriptions to content events
Code
function subscriptions_content_mailkeys() {
$mailkeys['node-nid'] = t('Notifications for %Pages (update/comment) subscriptions', array(
'%Pages' => t('Pages/Threads'),
));
foreach (node_get_types() as $key => $type) {
$mailkeys['node-type-' . $key] = t('Notifications for %type !content_type subscriptions', array(
'%type' => $type->name,
'!content_type' => t('content type'),
));
}
return $mailkeys;
}