[documentation] [Documentation bug] Forms API Reference: #theme needs some love
webchick
drupal-docs at drupal.org
Mon Oct 23 15:34:09 UTC 2006
Issue status update for
http://drupal.org/node/89887
Post a follow up:
http://drupal.org/project/comments/add/89887
Project: Documentation
Version: <none>
Component: Documentation in CVS
Category: bug reports
Priority: normal
Assigned to: Anonymous
Reported by: alienbrain
Updated by: webchick
Status: active
Should be everything except type = value, actually, since value is never
displayed to the browser.
webchick
Previous comments:
------------------------------------------------------------------------
Wed, 18 Oct 2006 12:18:25 +0000 : alienbrain
In
http://api.drupal.org/api/HEAD/file/developer/topics/forms_api_reference...
In the Form Controls table, #theme row is completely empty. I tried
using it on textfield elements and indeed it worked, so the empty row is
mistaken.
Later on today I will try to find out what elements exactly is #theme
available for, and will post the information here.
I hope I'm not missing something very obvious.
------------------------------------------------------------------------
Wed, 18 Oct 2006 18:51:27 +0000 : alienbrain
I tried using #theme for every element in the /Elements/ section in
Forms API Reference [1], and these are the elements that support #theme:
* button
* checkbox
* checkboxes
* date
* fieldset
* file
* form
* hidden
* markup
* item
* password
* radio
* radios
* select
* submit
* textarea
* textfield
That's EVERY element, except value and weight.
Let me know if I should digg for any needed details.
[1]
http://api.drupal.org/api/HEAD/file/developer/topics/forms_api_reference.html\"
title=\"Forms API Reference
More information about the documentation
mailing list