Details
Description
From a conversation in jabber and following on from MDL-16392
It would be good to have an array somewhere containing all information about plugins, where their db directories are etc. At the moment get_db_directories seems to contain most of this information but there are other places in moodle that duplicate this (the example was events_load_def).
If we could maintain one array containing this information and then a few helper functions around it we could potentially:
a) remove a lot of duplication
b) make it easier to add new plugin 'types' later without having to add db location information in muliple places
Attachments
Issue Links
| This issue will help resolve: | ||||
| MDL-16487 | The plugins check is outdated |
|
|
|
| MDL-16392 | Portfolio plugins can't register queue handlers |
|
|
|
| This issue will be resolved by: | ||||
| MDL-20191 | Subplugins are not uninstalled together with a module |
|
|
|
| This issue has a non-specific relationship to: | ||||
| MDL-19346 | Discrepancies between plugins declared in get_plugin_types() and detected by get_db_directories() |
|
|
|
| MDL-13816 | Improve the mechanisms by which the places to search for plugins' language strings is managed |
|
|
|
| This issue has been marked as being related by: | ||||
| MDL-20152 | glossary should use format-specific strings for concept and definition |
|
|
|
| MDL-19550 | Question formats from contrib are not completely pluggable - must modify core lang files. |
|
|
|
adding watchers spam ping