_profile_field_types

5 profile.module _profile_field_types($type = NULL)
6 profile.module _profile_field_types($type = NULL)
7 profile.module _profile_field_types($type = NULL)

2 calls to _profile_field_types()

File

modules/profile/profile.module, line 598
Support for configurable user profiles.

Code

function _profile_field_types($type = NULL) {
  $types = array(
    'textfield' => t('single-line textfield'), 
    'textarea' => t('multi-line textfield'), 
    'checkbox' => t('checkbox'), 
    'selection' => t('list selection'), 
    'list' => t('freeform list'), 
    'url' => t('URL'), 
    'date' => t('date'),
  );
  return isset($type) ? $types[$type] : $types;
}
Login or register to post comments