You are here

function _name_get_name_format_help_form in Name Field 7

Same name and namespace in other branches
  1. 6 name.admin.inc \_name_get_name_format_help_form()

A helper function to generate the format string parameter help fieldset.

3 calls to _name_get_name_format_help_form()
name_admin_settings_form in ./name.admin.inc
Form builder function for module settings.
name_custom_formats_form in ./name.admin.inc
Form callback to edit or add a new custom name format.
name_list_custom_formats in ./name.admin.inc
Lists the known custom formats.

File

./name.admin.inc, line 303
General administration functions.

Code

function _name_get_name_format_help_form() {
  $form = array(
    '#type' => 'fieldset',
    '#title' => t('Format string help'),
    '#collapsible' => TRUE,
    '#collapsed' => TRUE,
    '#parents' => array(),
    'format_parameters' => array(
      '#markup' => theme('name_format_parameter_help'),
    ),
  );
  return $form;
}