Move deprecated function to hook class

Closes #3570863

Merge request reports

Loading