function social_follow_tag_activity_send_email_notifications_alter in Open Social 10.3.x
Same name and namespace in other branches
- 10.0.x modules/social_features/social_follow_taxonomy/social_follow_taxonomy.module \social_follow_tag_activity_send_email_notifications_alter()
- 10.1.x modules/social_features/social_follow_taxonomy/social_follow_taxonomy.module \social_follow_tag_activity_send_email_notifications_alter()
- 10.2.x modules/social_features/social_follow_taxonomy/social_follow_taxonomy.module \social_follow_tag_activity_send_email_notifications_alter()
Implements hook_activity_send_email_notifications_alter().
File
- modules/
social_features/ social_follow_taxonomy/ social_follow_taxonomy.module, line 486 - Contains social_follow_taxonomy.module.
Code
function social_follow_tag_activity_send_email_notifications_alter(array &$items, array $email_message_templates) {
if (isset($email_message_templates['create_node_following_tag'])) {
$items['what_follow']['templates'][] = 'create_node_following_tag';
}
if (isset($email_message_templates['update_node_following_tag'])) {
$items['what_follow']['templates'][] = 'update_node_following_tag';
}
}