You are here

function theme_signup_email_token_custom_data in Signup 7

Same name and namespace in other branches
  1. 5.2 signup.module \theme_signup_email_token_custom_data()
  2. 5 signup.module \theme_signup_email_token_custom_data()
  3. 6.2 theme/email.inc \theme_signup_email_token_custom_data()
  4. 6 theme/email.inc \theme_signup_email_token_custom_data()

Return the value for the %user_signup_info email token for custom signup data.

Parameters

array $signup_data: Custom data for a particular signup.

Return value

string Plain text output.

See also

theme_signup_user_form()

theme_signup_custom_data_email()

3 theme calls to theme_signup_email_token_custom_data()
signup_send_forwarding_mail in ./signup.module
Send the signup forwarding mail when a user signs up for something.
signup_token_values in ./signup.module
Implements hook_token_values() (from token.module)().
_signup_get_email_tokens in ./signup.module
Helper function that returns an array of tokens for signup emails.

File

theme/email.inc, line 19
Theme functions for generating signup email messages.

Code

function theme_signup_email_token_custom_data($variables) {
  return t('SIGNUP INFORMATION') . "\n\r" . theme('signup_custom_data_email', array(
    'data' => $variables['signup_data'],
  ));
}