summaryrefslogtreecommitdiff
path: root/modules/field/field.form.inc
diff options
context:
space:
mode:
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);
}