diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-05-09 13:29:06 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-05-09 13:29:06 +0000 |
commit | 9717155583723f2f0a28468f605e2aa1798791de (patch) | |
tree | 528bb2b1d9105502eeaff42ebb0cf9f8b03ffb46 | |
parent | 1ecffc35cdbcd6c5bacc56b8b3085b7fb7762457 (diff) | |
download | brdo-9717155583723f2f0a28468f605e2aa1798791de.tar.gz brdo-9717155583723f2f0a28468f605e2aa1798791de.tar.bz2 |
- Patch #366377 by matt2000: documentation improvements.
-rw-r--r-- | modules/field/field.crud.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/field/field.crud.inc b/modules/field/field.crud.inc index 8150c975c..f6c743c0a 100644 --- a/modules/field/field.crud.inc +++ b/modules/field/field.crud.inc @@ -127,6 +127,8 @@ * field_attach_insert(), or field_attach_update(). * - default_value_function (string) * The name of the function, if any, that will provide a default value. + * - default_value (array) + * If default_value_function is not set, then fixed values can be provided. * - deleted (integer, read-only) * TRUE if this instance has been deleted, FALSE otherwise. * Deleted instances are ignored by the Field Attach API. @@ -225,6 +227,8 @@ * The $field array with the id property filled in. * @throw * FieldException + * + * See: @link field_structs Field API data structures @endlink. */ function field_create_field($field) { // Field name is required. @@ -613,6 +617,8 @@ function field_delete_field($field_name) { * The $instance array with the id property filled in. * @throw * FieldException + * + * See: @link field_structs Field API data structures @endlink. */ function field_create_instance($instance) { $field = field_read_field($instance['field_name']); |