Closed (won't fix)
Project:
Bartik
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 May 2010 at 10:12 UTC
Updated:
11 Jul 2010 at 14:49 UTC
Jump to comment: Most recent file
Comments
Comment #1
johnalbintemplate_preprocess_HOOK? No, that's what modules implement. Its confusing, I know. See http://api.drupal.org/api/function/theme/7
Comment #2
rstamm commentedoic. patch updated.
Comment #3
bleen commented@Ralf take a look at Garland's template.php to see how preprocess functions should be documented
Comment #4
rstamm commentedbartik_process_page function is an implementation of THEME_process_HOOK.
and simular to hook implementations, it is rather standard and does not require more explanation.
and it's also easier for modules like the api module, to generate links to its reference.
did not find any documentation in http://drupal.org/node/1354, nor threads. maybe Jennifer or John can open one for discus.
Comment #5
rstamm commentedlet's wait for other opinions.
Comment #6
rstamm commentedhttp://groups.drupal.org/node/69823
Comment #7
bleen commentedI have no problem with coming up with a standard way of documenting this ... but the patch you have in #2 actually has
...neither THEME nor HOOK are placeholders in that patch. Clearly we can't have comments like that.
Comment #8
jensimmons commentedClosing, now that Bartik is in core.