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.
API page: http://api.drupal.org/api/drupal/modules--node--node.pages.inc/function/...
Describe the problem you have found:
> Menu callback; presents the node editing form, or redirects to delete confirmation.
I don't think this function does the 'redirects to delete confirmation' part.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1236594-01-node_page_edit-comment.patch | 415 bytes | linclark |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedYou're right. While it will pass through node_page_edit again on the way to delete confirmation, the logic isn't in this function.
Similar functions, such as user_profile_form, do not have this comment even though they function in the same way, so it makes sense to remove the comment.
Comment #2
jhodgdonPatch is OK for 7.x/8.x. We need to make some standards for menu callback docs... I think there was an issue that never was resolved. Sigh. They're all over the map currently, but no reason to hold this correction up.
Comment #3
Dries CreditAttribution: Dries commentedCommitted to 7.x and 8.x. Thanks!