[documentation] [Documentation bug] Forms API Reference: #theme needs some love
add1sun
drupal-docs at drupal.org
Wed Feb 14 14:06:56 UTC 2007
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: add1sun
-Status: active
+Status: fixed
I've added the correct references for #theme to the API reference for
HEAD, 5 and 4.7.
add1sun
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
------------------------------------------------------------------------
Mon, 23 Oct 2006 15:34:09 +0000 : webchick
Should be everything except type = value, actually, since value is never
displayed to the browser.
More information about the documentation
mailing list