summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-03 23:31:17 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-03 23:31:17 +0000
commit6abc20eee75d0a47679636b5f5c2c00deda3a6b6 (patch)
treee5936ea159cb4d272a2b5d9f64647b8acc548752
parentfea12f8c1d4d4d71176b1a877794e1470ca2b63b (diff)
downloadbrdo-6abc20eee75d0a47679636b5f5c2c00deda3a6b6.tar.gz
brdo-6abc20eee75d0a47679636b5f5c2c00deda3a6b6.tar.bz2
#673340 by fgm: Fixed incorrect wording in several functions in field.crud.inc.
-rw-r--r--modules/field/field.crud.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/field/field.crud.inc b/modules/field/field.crud.inc
index 8b8273ee9..f478bff8a 100644
--- a/modules/field/field.crud.inc
+++ b/modules/field/field.crud.inc
@@ -200,7 +200,7 @@
* field_create_instance() for that.
*
* @param $field
- * A field structure. The field_name and type properties are required.
+ * A field definition array. The field_name and type properties are required.
* Other properties, if omitted, will be given the following default values:
* - cardinality: 1
* - locked: FALSE
@@ -219,7 +219,7 @@
* - settings: each omitted setting is given the default value specified in
* hook_field_storage_info().
* @return
- * The $field structure with the id property filled in.
+ * The $field array with the id property filled in.
* @throw
* FieldException
*/
@@ -462,7 +462,7 @@ function field_update_field($field) {
* $include_additional['include_inactive'] to TRUE will override this
* behavior.
* @return
- * A field structure, or FALSE.
+ * A field definition array, or FALSE.
*/
function field_read_field($field_name, $include_additional = array()) {
$fields = field_read_fields(array('field_name' => $field_name), $include_additional);
@@ -482,7 +482,7 @@ function field_read_field($field_name, $include_additional = array()) {
* behavior.
* @return
* An array of fields matching $params. If
- * $include_additional['include_deletd'] is TRUE, the array is keyed
+ * $include_additional['include_deleted'] is TRUE, the array is keyed
* by field id, otherwise it is keyed by field name.
*/
function field_read_fields($params = array(), $include_additional = array()) {
@@ -573,7 +573,7 @@ function field_delete_field($field_name) {
* Creates an instance of a field, binding it to a bundle.
*
* @param $instance
- * A field instance structure. The field_name, object_type and
+ * A field instance definition array. The field_name, object_type and
* bundle properties are required. Other properties, if omitted,
* will be given the following default values:
* - label: the field name
@@ -595,7 +595,7 @@ function field_delete_field($field_name) {
* - settings: each omitted setting is given the default value specified in
* hook_field_formatter_info().
* @return
- * The $instance structure with the id property filled in.
+ * The $instance array with the id property filled in.
* @throw
* FieldException
*/
@@ -649,7 +649,7 @@ function field_create_instance($instance) {
* Updates an instance of a field.
*
* @param $instance
- * An associative array represeting an instance structure. The required
+ * An associative array representing an instance structure. The required
* keys and values are:
* field_name: The name of an existing field.
* bundle: The bundle this field belongs to.