summaryrefslogtreecommitdiff
path: root/modules/field
diff options
context:
space:
mode:
Diffstat (limited to 'modules/field')
-rw-r--r--modules/field/field.crud.inc2
-rw-r--r--modules/field/modules/list/list.module2
-rw-r--r--modules/field/modules/list/tests/list.test2
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/field/field.crud.inc b/modules/field/field.crud.inc
index a6aaab126..e34c0c528 100644
--- a/modules/field/field.crud.inc
+++ b/modules/field/field.crud.inc
@@ -727,7 +727,7 @@ function field_read_instances($params = array(), $include_additional = array())
* An instance structure.
* @param $field_cleanup
* If TRUE, the field will be deleted as well if its last instance is being
- * deleted. If FALSE, it is the caller's responsability to handle the case of
+ * deleted. If FALSE, it is the caller's responsibility to handle the case of
* fields left without instances. Defaults to TRUE.
*/
function field_delete_instance($instance, $field_cleanup = TRUE) {
diff --git a/modules/field/modules/list/list.module b/modules/field/modules/list/list.module
index 2518ebcfc..1d72be44a 100644
--- a/modules/field/modules/list/list.module
+++ b/modules/field/modules/list/list.module
@@ -248,7 +248,7 @@ function list_allowed_values($field) {
* Parses a string of 'allowed values' into an array.
*
* @param $string
- * The list of allowed values in string format descibed in
+ * The list of allowed values in string format described in
* list_allowed_values_string().
* @param $field_type
* The field type. Either 'list_number' or 'list_text'.
diff --git a/modules/field/modules/list/tests/list.test b/modules/field/modules/list/tests/list.test
index dec09560f..765901a84 100644
--- a/modules/field/modules/list/tests/list.test
+++ b/modules/field/modules/list/tests/list.test
@@ -303,7 +303,7 @@ class ListFieldUITestCase extends FieldTestCase {
$this->field_name = 'field_list_boolean';
$this->createListField('list_boolean');
- // Check that the seperate 'On' and 'Off' form fields work.
+ // Check that the separate 'On' and 'Off' form fields work.
$on = $this->randomName();
$off = $this->randomName();
$allowed_values = array(1 => $on, 0 => $off);