Commit 34ed1f2a authored by Dries's avatar Dries

- Patch #374068 by alienbrain, bjaspan: improved documentation of field display settings.

parent 0bb51122
......@@ -131,18 +131,26 @@
* Each field widget type module defines and documents its own
* widget settings.
* - display (array)
* A sub-array of key/value pairs identifying display contexts
* and the way the field should be displayed in that context.
* TODO more work to do here.
* - (context_1)
* - label
* - exclude
* - type
* - settings
* A sub-array of key/value pairs identifying display contexts and the way
* the field should be displayed in that context.
* - example_context_1 (array)
* A sub-array of key/value pairs of the display options to be used
* when the field is being displayed in the "example_context_1" context.
* - label (string)
* Position of the label. 'inline', 'above' and 'hidden' are the
* values recognized by the default 'field' theme implementation.
* - exclude (integer)
* TODO This is subject to change, see: http://drupal.org/node/367215
* - type (string)
* The type of the display formatter to use for the field in
* this context.
* - settings (array)
* A sub-array of key/value pairs of display options specific to
* the display formatter used in this context.
* - module (string, read-only)
* The name of the module which implements the display formatter.
* - example_context_2
* - ...
* - module (internal)
* - (context 2)
* - ...
*
* TODO D7 : document max length for field types, widget types,
* formatter names...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment