After installing a module from a given URL (on
admin/modules/install), I can see the following messages:
So it outputs 3 links in the "Next steps" list, but I would like to hook into the update callback process, extend this list, and provide another link which points to a callback page defined by my own module, where I can enable the module immediately. I don't need help for the latter, only for the way to hook into the process of altering/extending the messages in the result.
After hooking into to the process of generating the output (hooking into the callback process), I will need to know the module's machine name.
This is what the expected result would look like:
What would be the appropriate way to provide custom messages in the update callback?
The "Installation was completed successfully." text is defined by
modules/update/update.authorize.inc (and gets into
$_SESSION['authorize_results']['page_message'] as an array), and the
"Next steps" list is provided by