_profile_field_types
function _profile_field_types
_profile_field_types($type = NULL)
File
- modules/profile/profile.module, line 599
- 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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!profile!profile.module/function/_profile_field_types/7.x