summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoySegall2013-06-24 10:12:25 (GMT)
committer Amitaibu2013-06-24 10:12:25 (GMT)
commita088ebd3775431675ddc27f3fd5d301eea6e4a1f (patch)
treea3b3de63c31395bd5d84b820e46224a937b1048c
parentcbaf58c8fca0014a5e6e52827d968deaa299c9e9 (diff)
Issue #2026231 by RoySegall: Minor typos fix.
-rw-r--r--README.txt4
-rw-r--r--entityreference_prepopulate.module2
2 files changed, 3 insertions, 3 deletions
diff --git a/README.txt b/README.txt
index 81a03ec..03c2f0b 100644
--- a/README.txt
+++ b/README.txt
@@ -21,13 +21,13 @@ Fallback behaviour
Select what to do if the URL path does NOT contain a parameter to
pre-populate the field.
Skip access permission
- This is a fallback overide, the fallback behaviour will not be followed
+ This is a fallback override, the fallback behaviour will not be followed
for users with the specified permission.
Usage
=====
In order to pre-populate an entity reference field you have to supply the
-paramater in the URL.
+parameter in the URL.
The structure is
node/add/article?[field_ref]=[id]
diff --git a/entityreference_prepopulate.module b/entityreference_prepopulate.module
index f7653b9..c17c2e9 100644
--- a/entityreference_prepopulate.module
+++ b/entityreference_prepopulate.module
@@ -98,7 +98,7 @@ function entityreference_prepopulate_field_attach_form($entity_type, $entity, &$
}
if ($ids || ($id && !empty($settings['action_on_edit']))) {
- // New entity with prepopualte values, or an existing entity,
+ // New entity with prepopulate values, or an existing entity,
// we might need to disable/ hide the group-audience field.
if ($settings['action'] == 'disable') {
$form[$field_name][$lang]['#disabled'] = TRUE;