summaryrefslogtreecommitdiff
path: root/modules/field/field.autoload.inc
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-10 03:16:15 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-10 03:16:15 +0000
commit069597eaf3e750ffae2c0f8db1d2f9d4407029a7 (patch)
tree71020027686641bbaefada8a71504c0d3b217e2e /modules/field/field.autoload.inc
parent4ce3ff3d44b7b6c508bd2b855a93873d35c8673b (diff)
downloadbrdo-069597eaf3e750ffae2c0f8db1d2f9d4407029a7.tar.gz
brdo-069597eaf3e750ffae2c0f8db1d2f9d4407029a7.tar.bz2
#369562 by yched: More Field API clean-ups.
Diffstat (limited to 'modules/field/field.autoload.inc')
-rw-r--r--modules/field/field.autoload.inc22
1 files changed, 11 insertions, 11 deletions
diff --git a/modules/field/field.autoload.inc b/modules/field/field.autoload.inc
index ee2d3552c..cce62e688 100644
--- a/modules/field/field.autoload.inc
+++ b/modules/field/field.autoload.inc
@@ -44,13 +44,13 @@ function field_attach_form($obj_type, $object, &$form, $form_state) {
* The type of objects for which to load fields; e.g. 'node' or
* 'user'.
* @param $objects
- * An array of objects for which to load fields. The keys for
+ * An array of objects for which to load fields. The keys for
* primary id and bundle name to load are identified by
* hook_fieldable_info for $obj_type.
* @param $age
* FIELD_LOAD_CURRENT to load the most recent revision for all
* fields, or FIELD_LOAD_REVISION to load the version indicated by
- * each object. Defaults to FIELD_LOAD_CURRENT; use
+ * each object. Defaults to FIELD_LOAD_CURRENT; use
* field_attach_load_revision() instead of passing FIELD_LOAD_REVISION.
* @returns
* On return, the objects in $objects are modified by having the
@@ -71,7 +71,7 @@ function field_attach_load($obj_type, $objects, $age = FIELD_LOAD_CURRENT) {
* The type of objects for which to load fields; e.g. 'node' or
* 'user'.
* @param $objects
- * An array of objects for which to load fields. The keys for
+ * An array of objects for which to load fields. The keys for
* primary id, revision id, and bundle name to load are identified by
* hook_fieldable_info for $obj_type.
* @returns
@@ -92,10 +92,10 @@ function field_attach_load_revision($obj_type, $objects) {
*
* NOTE: This functionality does not yet exist in its final state.
* Eventually, field validation will occur during field_attach_insert
- * or _update which will throw an exception on failure. For now,
+ * or _update which will throw an exception on failure. For now,
* fieldable entities must call this during their Form API validation
* phase, and field validation will call form_set_error for any
- * errors. See http://groups.drupal.org/node/18019.
+ * errors. See http://groups.drupal.org/node/18019.
*
* @param $obj_type
* The type of $object; e.g. 'node' or 'user'.
@@ -152,7 +152,7 @@ function field_attach_presave($obj_type, &$object) {
}
/**
- * Save field data for a new object. The passed in object must
+ * Save field data for a new object. The passed in object must
* already contain its id and (if applicable) revision id attributes.
*
* @param $obj_type
@@ -183,7 +183,7 @@ function field_attach_update($obj_type, &$object) {
}
/**
- * Delete field data for an existing object. This deletes all
+ * Delete field data for an existing object. This deletes all
* revisions of field data for the object.
*
* @param $obj_type
@@ -199,7 +199,7 @@ function field_attach_delete($obj_type, &$object) {
}
/**
- * Delete field data for a single revision of an existing object. The
+ * Delete field data for a single revision of an existing object. The
* passed object must have a revision id attribute.
*
* @param $obj_type
@@ -216,7 +216,7 @@ function field_attach_delete_revision($obj_type, &$object) {
/**
* Generate and return a structured content array tree suitable for
- * drupal_render() for all of the fields on an object. The format of
+ * drupal_render() for all of the fields on an object. The format of
* each field's rendered content depends on the display formatter and
* its settings.
*
@@ -297,7 +297,7 @@ function field_attach_rename_bundle($bundle_old, $bundle_new) {
* Notify field.module the a bundle was deleted.
*
* This deletes the data for the field instances as well as the field instances
- * themselves. This function actually just marks the data and field instances
+ * themselves. This function actually just marks the data and field instances
* and deleted, leaving the garbage collection for a separate process, because
* it is not always possible to delete this much data in a single page request
* (particularly since for some field types, the deletion is more than just a
@@ -315,7 +315,7 @@ function field_attach_delete_bundle($bundle) {
/**
* Helper function to extract id, vid, and bundle name from an object.
- *
+ *
* @param $obj_type
* The type of $object; e.g. 'node' or 'user'.
* @param $object