From 115abc1dafe3a2256dfb40b948f9a355d336ff65 Mon Sep 17 00:00:00 2001 From: Bob Vincent Date: Mon, 13 Jun 2011 06:48:40 -0400 Subject: [PATCH] Issue #1166388 by pillarsdotnet: Add required documentation to user_mail_tokens() function. --- modules/user/user.module | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/modules/user/user.module b/modules/user/user.module index ffd170c458159285dd8256c0ebd0f6e083aa441f..e83b5df92b4817b177393a2e326b478a0aae309e 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -2698,6 +2698,17 @@ Your account on [site:name] has been canceled. /** * Token callback to add unsafe tokens for user mails. * + * @param &$replacements + * An array of mappings from token names to values (for use with strtr()). + * @param $data + * The array of replacement values. If the 'user' key exists, it must be + * associated with a user account object containing the following keys: + * - login: The account login name. + * - pass: The account login password. + * @param $options + * Unused parameter required by the token_replace() function. + * + * @see token_replace() * @see _user_mail_text() * @see user_mail() */ -- 1.7.4.1