Talk:Subplugins

Jump to: navigation, search

"A sub-plugin has the same structure as a regular plugin. It will have a version.php, a lang directory, and can have a db directory with an install.xml and all the other hooks you'd expect to see used in any other type of plugin, such as an activity, block, or admin report."

This part is unclear. None of the actual subplugins of the Moodle distribution have this structure. What hooks precisely can be used in a subplugin ? What file names, what function names, what classes are needed to get it all working ?

Thanks,

F P 22:19, 24 September 2011 (WST)