#3566956: move hook from module file to class

Closes #3566956

Merge request reports

Loading