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 @@ ...@@ -131,18 +131,26 @@
* Each field widget type module defines and documents its own * Each field widget type module defines and documents its own
* widget settings. * widget settings.
* - display (array) * - display (array)
* A sub-array of key/value pairs identifying display contexts * A sub-array of key/value pairs identifying display contexts and the way
* and the way the field should be displayed in that context. * the field should be displayed in that context.
* TODO more work to do here. * - example_context_1 (array)
* - (context_1) * A sub-array of key/value pairs of the display options to be used
* - label * when the field is being displayed in the "example_context_1" context.
* - exclude * - label (string)
* - type * Position of the label. 'inline', 'above' and 'hidden' are the
* - settings * 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, * TODO D7 : document max length for field types, widget types,
* formatter names... * 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