No description of the function is given
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | phptemplate_node_submitted-695468-5.patch | 873 bytes | caligan |
| #3 | phptemplate_node_submitted-695468.patch | 907 bytes | caligan |
No description of the function is given
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | phptemplate_node_submitted-695468-5.patch | 873 bytes | caligan |
| #3 | phptemplate_node_submitted-695468.patch | 907 bytes | caligan |
Comments
Comment #1
jhodgdonThanks!
http://api.drupal.org/api/function/phptemplate_node_submitted/6
This function does not exist in Drupal 7, so this is a D6 bug only.
Comment #2
jhodgdonThis function is an implementation of hook_node_submitted, so the doc block is very simple. Good project for a novice.
Comment #3
caligan commentedAlso documented phptemplate_comment_submitted just above it.
Comment #4
caligan commentedComment #5
jhodgdonThese are hook implementations. Please follow the doc standards for documenting them. You can leave the extra descriptions in there, but they need to have the standard line too.
See http://drupal.org/node/1354#hookimpl
Comment #6
caligan commentedThanks. :) I was mistakenly looking at the standard function section instead.
I'm unclear, though, on whether I should reference them as implementations of hook_node_submitted or theme_node_submitted, the latter of which shows up on an API search. That's the one I've used here (favoring search results), but if hook_ is more appropriate I'll tweak it.
Comment #7
jhodgdonAh.
You are correct, those are theme hook implementations, not hook implementations.
Sorry about that. Let's go back and use the patch in #3, which is consistent with the other functions in the theme/garland/template.php file.
Comment #8
gábor hojtsyCommitted, thanks.
Comment #9
gábor hojtsy