'fieldset', '#title' => t('Replacement tokens'), '#description' => t("Since these tokens will be used in plain text e-mail, it is better to use the '-raw' versions of any tokens that provide them."), '#collapsible' => TRUE, '#collapsed' => TRUE, ); $form[$element_name]['help_text'] = array( '#value' => _signup_build_token_help(), ); } /** * Private function to generate HTML for showing the available tokens * * @return The themed representation of the available tokens. */ function _signup_build_token_help() { static $help_html = ''; if (empty($help_html)) { $help_html = theme('token_help', array('signup', 'node', 'global')); } return $help_html; }