Details
Description
Create a new module hook with is called when a module is installed. This is to be used to register a module as message provider in the new messaging system.
Activity
- All
- Comments
- History
- Activity
- Source
- Test Sessions
Create a new module hook with is called when a module is installed. This is to be used to register a module as message provider in the new messaging system.
I've added this hook to the install process (for activity modules).
If the modules define a function named xxxxxx_install where xxxxx is the name of the module then it will be called during the installation of the module.
To cope with sites that are upgrading, you should also register the module as a messaging provider in db/upgrade.php for each module.