You are here

function theme_name_format_parameter_help in Name Field 6

Same name and namespace in other branches
  1. 7 includes/name.parser.inc \theme_name_format_parameter_help()

Provides help to the characters that are recognized in the name_format() format parameter string.

1 theme call to theme_name_format_parameter_help()
_name_get_name_format_help_form in ./name.admin.inc
A helper function to generate the format string parameter help fieldset.

File

includes/name.parser.inc, line 13
Provides the functionality and information about the Name module name parsing engine.

Code

function theme_name_format_parameter_help() {
  $output = '<div>' . t('The following characters are recognized in the format parameter string:') . '</div>';
  $output .= '<dl>';
  foreach (name_replacement_tokens() as $token => $title) {
    $output .= "<dt>{$token}</dt><dd>{$title}</dd>";
  }
  $output .= '</dl>';
  return $output;
}