summaryrefslogtreecommitdiff
path: root/modules/field/field.api.php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-03-27 05:52:50 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-03-27 05:52:50 +0000
commit7d4b84b8789ffd3ad22dc987860f46c18f9d0f07 (patch)
treea5e7429b505f079ea6e0938f4f7773719200c915 /modules/field/field.api.php
parentf86fda29a3e004e7e38a5d039aa0869a5bd6d888 (diff)
downloadbrdo-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.api.php')
-rw-r--r--modules/field/field.api.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php
index 925859355..d8752ba62 100644
--- a/modules/field/field.api.php
+++ b/modules/field/field.api.php
@@ -659,7 +659,7 @@ function hook_field_widget_info_alter(&$info) {
* The order of this item in the array of subelements (0, 1, 2, etc).
* @param $element
* A form element array containing basic properties for the widget:
- * - #object_type: The name of the entity the field is attached to.
+ * - #entity_type: The name of the entity the field is attached to.
* - #bundle: The name of the field bundle the field is contained in.
* - #field_name: The name of the field.
* - #language: The language the field is being edited in.
@@ -1023,7 +1023,7 @@ function hook_field_attach_update($entity_type, $entity) {
* values.
* @param $context
* An associative array containing:
- * - obj_type: The type of $entity; e.g. 'node' or 'user'.
+ * - entity_type: The type of $entity; e.g. 'node' or 'user'.
* - object: The entity with fields to render.
* - element: The structured array containing the values ready for rendering.
*/
@@ -1059,7 +1059,7 @@ function hook_field_attach_delete_revision($entity_type, $entity) {
* The structured content array tree for all of $entity's fields.
* @param $context
* An associative array containing:
- * - obj_type: The type of $entity; e.g. 'node' or 'user'.
+ * - entity_type: The type of $entity; e.g. 'node' or 'user'.
* - object: The entity with fields to render.
* - view_mode: View mode, e.g. 'full', 'teaser'...
*/