summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries <dries@buytaert.net>2011-12-09 10:32:50 -0500
committerDries <dries@buytaert.net>2011-12-09 10:32:50 -0500
commitfcc870726ceebc1fb382f5d83d321cdb9e8cf9bc (patch)
treec9610b6cb4f46097cc2ceb3616f56d2f03fc61ba /modules
parent229aad8e12cae9af761f3eda5b3b26aa9614fee1 (diff)
downloadbrdo-fcc870726ceebc1fb382f5d83d321cdb9e8cf9bc.tar.gz
brdo-fcc870726ceebc1fb382f5d83d321cdb9e8cf9bc.tar.bz2
- Patch #1345152 by Zgear, chris.leversuch: field_create_field() and related functions have incorrect exception throwing docs.
Diffstat (limited to 'modules')
-rw-r--r--modules/field/field.crud.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/field/field.crud.inc b/modules/field/field.crud.inc
index e34c0c528..41980a87a 100644
--- a/modules/field/field.crud.inc
+++ b/modules/field/field.crud.inc
@@ -42,10 +42,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.
*/
@@ -442,8 +443,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.
*/
@@ -510,8 +511,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()
*/