On the page Converting 6.x modules to 7.x (http://drupal.org/node/224333) in the section about the elimination of the nodeapi hook, there is a reference to a new function hook_node_prepare_translation(). However, according to the discussion in http://drupal.org/node/362021#comment-3054696, this new hook has been eliminated and the developer should apparently use hook_field_attach_prepare_translation() instead. Hence, I believe a patch needs to be rolled to eliminate all references to hook_node_prepare_translation() from the D7 and D6 upgrade documentation.

Comments

jhodgdon’s picture

That's not a patch. That's just editing the on-line page. But it does sound like a good idea...

montesq’s picture

Project: Drupal core » Documentation
Version: 7.x-dev »
Component: documentation » Correction/Clarification
Category: bug » task

My understanding of your issue is it must be addressed as a task in the documentation project.
Moreover, you must be able to edit yourself the page http://drupal.org/node/224333 to create a new revision. Think to add a reference to the Webchick's post to explain why you do this change.

jhodgdon’s picture

Project: Documentation » Drupal core
Version: » 7.x-dev
Component: Correction/Clarification » documentation
Category: task » bug

We actually manage the changes to the Module Upgrade 6/7 guide in the Drupal core issue queue, not in the Documentation issue queue. Please leave it there. Thanks!

You are correct that not everyone has access to edit that page. If someone wants to write the suggested bit, someone else (like me) with edit access can put it up there.

jhodgdon’s picture

Status: Active » Closed (duplicate)

I'm closing this issue as a duplicate, in favor of re-opening the original issue where this change was made:
#362021: field_attach_prepare_translation needs to be updated for D7 API