Good day,
it's been a while since I contributed to Moodle. I am back to Moodle coding and I have a few questions for you developers:
- Is anybody using $CFG->custom_context_classes setting to inject custom context levels?
- Did you ever want to have a custom context level in your Moodle plugin?
I am asking because of a proposed patch in MDL-74936 which refactors all context classes to namespaces and adds support for new plugin context levels. I also created MDL-74937 which demonstrates how it could be used to add new Cohort context level.
I'd be nice to hear your opinions, ideas or potential use cases.
Ciao,
Petr