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.
I made it for my own needs, but maybe it will interesting for someone else.
I moved default Change Node Type form field into fieldset, as it was mentioned in other issues.
Also I added that similar simple functionality for comments.
When you edit the comment, You have option to move it to other node by entering this node {nid}
Only node {nid} is changed.
However, after that, the _comment_update_node_statistics() is called for both affected nodes to keep it updated.
Also, there is simple validation for unexistent node {nid}
Comment | File | Size | Author |
---|---|---|---|
nodetype.zip | 7.56 KB | tabun |
Comments
Comment #1
tabun CreditAttribution: tabun commentedForgot to say, I did not tested this functionality for threaded comments, as I have switched off the replies to comment in my Drupal installation.