summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries2011-12-09 15:32:17 (GMT)
committerDries2011-12-09 15:32:17 (GMT)
commit50221e636474a43107a55c318b49239cc162a1d8 (patch)
tree1c5f51e7b9470bea4a4b4bf561bec74d05e1de7a
parent1de37b34d278185a71812cd0db34e9e98e1ec56b (diff)
- Patch #1345152 by Zgear, chris.leversuch: field_create_field() and related functions have incorrect exception throwing docs.
-rw-r--r--core/modules/field/field.crud.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/modules/field/field.crud.inc b/core/modules/field/field.crud.inc
index 1e1673c..ff39f22 100644
--- a/core/modules/field/field.crud.inc
+++ b/core/modules/field/field.crud.inc
@@ -44,10 +44,11 @@
* system variable.
* - settings: each omitted setting is given the default value specified in
* hook_field_storage_info().
+ *
* @return
* The $field array with the id property filled in.
- * @throw
- * FieldException
+ *
+ * @throws FieldException
*
* See: @link field Field API data structures @endlink.
*/
@@ -444,8 +445,8 @@ function field_delete_field($field_name) {
*
* @return
* The $instance array with the id property filled in.
- * @throw
- * FieldException
+ *
+ * @throws FieldException
*
* See: @link field Field API data structures @endlink.
*/
@@ -512,8 +513,7 @@ function field_create_instance($instance) {
* properties specified in $instance overwrite the existing values for
* the instance.
*
- * @throw
- * FieldException
+ * @throws FieldException
*
* @see field_create_instance()
*/