Issue #2222497 by mojzis: Replace obsolete function reference in hook_prepare docs