Move .module code to a Hook class

Closes #3592013

Merge request reports

Loading