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.module/function/nod...
Describe the problem you have found:
No PhpDoc at all even though this function has a param and a return value.
Please add these so that smart IDEs can use it for IntelliSense support.
Comment | File | Size | Author |
---|---|---|---|
#7 | node_last_changed_patch3-1196318-4827762.patch | 574 bytes | James_Stallings |
#5 | node_last_changed_patch2-1196318-4817982.patch | 572 bytes | James_Stallings |
#3 | node_last_changed_patch1-1196318-4805274.patch | 528 bytes | James_Stallings |
Comments
Comment #1
jhodgdonThanks for reporting! We fix in 8.x then port back to 7.x
Comment #2
James_Stallings CreditAttribution: James_Stallings commentedComment #3
James_Stallings CreditAttribution: James_Stallings commentedComment #4
jhodgdon"id" is a psychological term -- please use ID to refer to an identifying number (yes, I know -- not done consistently in the current doc, but we're trying!). :)
You might also consider in the @return adding "giving the time the node was last updated" or something like that?
Comment #5
James_Stallings CreditAttribution: James_Stallings commentedComment #6
jhodgdonAlmost there! The only thing I would change is a -> the in the @return, because by the time the function is returning, we are talking about a specific node:
should be "last time the node was changed"
Comment #7
James_Stallings CreditAttribution: James_Stallings commentedAll set!
Comment #8
jhodgdonLooks good! 8.x/7.x material.
Comment #9
Dries CreditAttribution: Dries commentedCommitted to 7.x and 8.x. Thanks.