diff --git includes/path.inc includes/path.inc index 5b85db9..aa41d04 100644 --- includes/path.inc +++ includes/path.inc @@ -155,7 +155,8 @@ function drupal_get_normal_path($path, $path_language = '') { * * @return * The component specified by $index, or NULL if the specified component was - * not found. + * not found. If called without arguments, it returns an array containing all + * the components of the current path. */ function arg($index = NULL, $path = NULL) { static $arguments;