summaryrefslogtreecommitdiff
path: root/modules/field/field.form.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-02-12 05:38:10 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-02-12 05:38:10 +0000
commit3756cdd8c1a7ff2d14944fc4c4cb60346fa7f9e1 (patch)
treebfb1d8c87fde1249676913d040839d8c538c2e16 /modules/field/field.form.inc
parent7562a8efb36306e96bf4d13b1f97b4573809ab45 (diff)
downloadbrdo-3756cdd8c1a7ff2d14944fc4c4cb60346fa7f9e1.tar.gz
brdo-3756cdd8c1a7ff2d14944fc4c4cb60346fa7f9e1.tar.bz2
#707724 follow-up by yched: More Field API/Entity API terminology clean-up.
Diffstat (limited to 'modules/field/field.form.inc')
-rw-r--r--modules/field/field.form.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/field/field.form.inc b/modules/field/field.form.inc
index 6b7c1ca13..a37343b1e 100644
--- a/modules/field/field.form.inc
+++ b/modules/field/field.form.inc
@@ -10,7 +10,7 @@
* Create a separate form element for each field.
*/
function field_default_form($entity_type, $entity, $field, $instance, $langcode, $items, &$form, &$form_state, $get_delta = NULL) {
- // This could be called with no object, as when a UI module creates a
+ // This could be called with no entity, as when a UI module creates a
// dummy form to set default values.
if ($entity) {
list($id, , ) = entity_extract_ids($entity_type, $entity);
@@ -29,7 +29,7 @@ function field_default_form($entity_type, $entity, $field, $instance, $langcode,
'errors' => array(),
);
- // Populate widgets with default values when creating a new object.
+ // Populate widgets with default values when creating a new entity.
if (empty($items) && empty($id)) {
$items = field_get_default_value($entity_type, $entity, $field, $instance, $langcode);
}