[development] Question on #theme attribute in D6 FAPI

Earl Miles merlin at logrus.com
Thu Jul 10 01:26:15 UTC 2008

Syscrusher wrote:
> I went to the hook_theme documentation, but I'm unclear on how those
> registration parameters apply to FAPI clients; the documentation seems
> to speak from the viewpoint of the theme writer. I'm not writing a
> theme, just needing to wrap form elements into a table from the
> drupal_render() call. I embed class and ID attributes in the table which
> the theme can modify for aesthetics -- IOW, my module only applies the
> document structure elements without regard to their cosmetics at display
> time.

See: http://drupal.org/node/165706 -- that's in the module developer's 

And the api docs for hook_theme, of course.

More information about the development mailing list