diff options
Diffstat (limited to 'modules/field/field.crud.inc')
-rw-r--r-- | modules/field/field.crud.inc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/modules/field/field.crud.inc b/modules/field/field.crud.inc index eda3218c5..339e9c4e3 100644 --- a/modules/field/field.crud.inc +++ b/modules/field/field.crud.inc @@ -1,5 +1,4 @@ <?php -// $Id$ /** * @file @@ -422,7 +421,6 @@ function field_delete_field($field_name) { * will be given the following default values: * - label: the field name * - description: empty string - * - weight: 0 * - required: FALSE * - default_value_function: empty string * - settings: each omitted setting is given the default value specified in @@ -635,12 +633,11 @@ function _field_write_instance($instance, $update = FALSE) { } /** - * Reads a single instance record directly from the database. + * Reads a single instance record from the database. * - * Generally, you should use the field_info_instance() instead. - * - * This function will not return deleted instances. Use - * field_read_instances() instead for this purpose. + * Generally, you should use field_info_instance() instead, as it + * provides caching and allows other modules the opportunity to + * append additional formatters, widgets, and other information. * * @param $entity_type * The type of entity to which the field is bound. |