Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34632

Create hook to allow plugin scripts to run during loading of setup.php

XMLWordPrintable

      There was a plugin submission that basically created a way to have per user debug modes.

      This required a 'unpluginly' patch to the config.php to affect debug modes from the start.

      Do we want to add an event trigger to propagate instant events to help setup related plugins ("early plugins") that need to take effect in the early stages of the entire system?

      • It seems this would cater to developers but i'm not sure if it would cater to any pedagogical needs.
      • This sort of plugin would be prime candidates for existing within the plugins directory which would later be brought into core later if it was really popular.
      • security concerns for such powerful early plugins could be evaluated as a plugin (and shown to be risky too) before they are considered to get into core.
      • If we don't do this, the only way for such "early plugins" would be to patch config.php and this not being a 'true' plugin. (Then it'd seem fair to allow these patches in the plugins dir)

            Unassigned Unassigned
            nebgor Aparup Banerjee
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.