summaryrefslogtreecommitdiff
path: root/modules/field
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-01-25 10:38:35 +0000
committerDries Buytaert <dries@buytaert.net>2010-01-25 10:38:35 +0000
commitaf3f94b37ebb4e6b2d03f937e40a157a17dff223 (patch)
tree002f4e23f118c3324f7cf2bceb781c441f55406f /modules/field
parent4f6cf1d1a1ac7f6ef0295cbdcf24ea980fda61b7 (diff)
downloadbrdo-af3f94b37ebb4e6b2d03f937e40a157a17dff223.tar.gz
brdo-af3f94b37ebb4e6b2d03f937e40a157a17dff223.tar.bz2
- Patch #693614 by asimmonds: fixed PHPDoc spelling typos.
Diffstat (limited to 'modules/field')
-rw-r--r--modules/field/field.api.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php
index 89f3e6a9b..355301254 100644
--- a/modules/field/field.api.php
+++ b/modules/field/field.api.php
@@ -1474,12 +1474,12 @@ function hook_field_create_instance($instance) {
* @param $has_data
* Whether any data already exists for this field.
* @return
- * Throws a FieldUpdateForbiddenException to prevent the update from occuring.
+ * Throws a FieldUpdateForbiddenException to prevent the update from occurring.
*/
function hook_field_update_field_forbid($field, $prior_field, $has_data) {
// A 'list' field stores integer keys mapped to display values. If
// the new field will have fewer values, and any data exists for the
- // abandonded keys, the field will have no way to display them. So,
+ // abandoned keys, the field will have no way to display them. So,
// forbid such an update.
if ($has_data && count($field['settings']['allowed_values']) < count($prior_field['settings']['allowed_values'])) {
// Identify the keys that will be lost.