core of the message stack. It enables logging and displaying system events in a number of different use cases.” With Message Notify, Flag and Message Subscribe modules the website can send out notifications, and allow users to subscribe or unsubscribe to notifications
defines message entity types (fieldable) and let you create messages instances with dynamic content • handles delivery of a specific message notification through specialized plugins (e-mail, sms, …) • given a new message identifies the recipients/ subscribers through flag module and pass the message to message notify module for delivery
provide any number of flags for nodes, comments, users, and any other type of entity. Some possibilities include bookmarks, marking important, friends, or flag as offensive”
modules expose API to other modules • pluggable architecture that supports customization and extensibility • but … to let you understand, the 3 modules includes features and example modules to easily test the workflow
Hooks • Via UI: Rules Message example (message_example: feature available in message_module), exposes: • message types • example of view • custom code that hooks events and creates messages
message_subscribe_send_messages() with this command the message_subscribe module handles: • get basic context i.e..the node of the comment, the author of the comment and node, the terms and the groups • get subscribers (people who flagged) • pass to message_notify