Does anyone know of a plugin that implements the restore hook "after_restore_module"? I have a local plugin that needs to perform something on a course module after it has been setup, but I need access to the newly created module and the module in the backup file's information. I created some custom tags in the module's module.xml file.
I tried using the define_module_plugin_structure() hook in the restore class for my plugin, but it appears that the data I set in the module's availability field is getting erased somewhere. So I think I need to do the setting of availability conditions after the module is fully restored.