Closed (fixed)
Project:
Documentation
Component:
Documentation in CVS
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 May 2008 at 02:53 UTC
Updated:
2 Jun 2008 at 04:02 UTC
Jump to comment: Most recent file
Comments
Comment #1
webchickPatch.
Comment #2
webchickk, committed this to HEAD and DRUPAL-6--1. I'm sure this still needs copious amounts of work, but at least there's something there now.
Comment #3
merlinofchaos commentedThis is a good start. This documentation should probably attempt to describe some of what will be found in the registry, though that's going to take some effort. Though hook_theme covers most of it, there's a few things in there that aren't necessarily in hook_theme.
Comment #4
webchickOk, after discussing w/ merlinofchaos on IRC, I made the following changes:
1. Added 'type', 'theme path', and 'theme paths' to hook_theme() docs, so there's only one place to refer to (and update as it changes) for a list of all these properties.
2. Moved 'arguments' to the top, while I was at it, since it's the only required value.
3. Added a code sample of what a given array index looks like in hook_theme_registry_alter().
Patch attached.
Comment #5
webchickTypo.
Comment #6
webchickAnd, oops. I didn't mean to move the position of 'file'.
Comment #7
webchickAlso, I didn't mean to remove the bit about cache clearage.
Have I mentioned I should've gone to bed about an hour ago? :P
Comment #8
webchickWell I accidentally committed this when I fixed #217912: Document undocumented hooks (currently 1 remaining on list). Since there's been no comment on this issue for a few days, I'm assuming there wasn't anything too horrible in there. Marking fixed again.
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.