Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Jan 2010 at 04:28 UTC
Updated:
3 Jan 2014 at 01:08 UTC
Jump to comment: Most recent, Most recent file
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