Issue #1492378 by kbasarab: follow-up docs correction on autocomplete paths
authorJennifer Hodgdon
Sat, 10 Nov 2012 15:19:11 +0000 (07:19 -0800)
committerJennifer Hodgdon
Sat, 10 Nov 2012 15:19:11 +0000 (07:19 -0800)
includes/form.inc

index aa90eca..9121a35 100644 (file)
@@ -3685,6 +3685,8 @@ function form_pre_render_fieldset($element) {
  *   array_shift($args);
  *   array_shift($args);
  *   // We store the user's original input in $keywords, including any slashes.
+ *   // Note: A prepended or trailing slash will be removed. For example, if the
+ *   // user enters '/a/few/words/' then $keywords will contain 'a/few/words'.
  *   $keywords = implode('/', $args);
  *
  *   // Your code here.