Moodle: Add hook/event to alter scripts and styles


Makes it easier for other plugins to alter or modify the scripts and styles that are loaded.
Should run after $core->getDependenciesFiles()
WordPress plugin's alter_assets()

Acceptance Criteria

1. Pull Request where functionality works as intended.
2. GitHub issue is kept up-to-date:


Svein-Tore Griff With
February 2, 2017, 9:39 AM

Eiz Eddin A
February 1, 2017, 12:41 PM

Thank you both and . I will add that to my collections

Thomas Marstrander
February 1, 2017, 12:24 PM

You do!
Excellent pull request

Pål Jørgensen
February 1, 2017, 12:19 PM

: You are of course the real superstar, since you made the pull request! Thank you very much!

Eiz Eddin A
February 1, 2017, 11:36 AM

Will I get a as well ?



Thomas Marstrander


Svein-Tore Griff With

Code reviewer

Pål Jørgensen