diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-03-27 05:52:50 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-03-27 05:52:50 +0000 |
commit | 7d4b84b8789ffd3ad22dc987860f46c18f9d0f07 (patch) | |
tree | a5e7429b505f079ea6e0938f4f7773719200c915 /modules/field/field.module | |
parent | f86fda29a3e004e7e38a5d039aa0869a5bd6d888 (diff) | |
download | brdo-7d4b84b8789ffd3ad22dc987860f46c18f9d0f07.tar.gz brdo-7d4b84b8789ffd3ad22dc987860f46c18f9d0f07.tar.bz2 |
#707724 follow-up by yched: Fix more confusing field/entity api arguments.
Diffstat (limited to 'modules/field/field.module')
-rw-r--r-- | modules/field/field.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/field/field.module b/modules/field/field.module index eb3664916..c3765cfaa 100644 --- a/modules/field/field.module +++ b/modules/field/field.module @@ -608,8 +608,8 @@ function field_view_field($entity_type, $entity, $field_name, $display = array() // Invoke hook_field_attach_view_alter() to let other modules alter the // renderable array, as in a full field_attach_view() execution. $context = array( - 'obj_type' => $entity_type, - 'object' => $entity, + 'entity_type' => $entity_type, + 'entity' => $entity, 'view_mode' => '_custom', ); drupal_alter('field_attach_view', $result, $context); |