Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I am currently developing a module where i need access to the back references of a node.
I am using hook_nodeapi. I want to update all nodes which are referencing to my content if my node changes.
$node->backreference_field_ID is empty in hook_nodeapi.
How can i get the backreferences of the current node in hook_nodeapi?
Regards,
Dob_
Comments
Comment #1
svax CreditAttribution: svax commentedI'm having the same issue, the backreference is empty, for example when you've loaded a node with node_load.
When is the backreference nid added to the node?