_profile_form_explanation
function _profile_form_explanation
_profile_form_explanation($field)
File
- modules/profile/profile.module, line 361
- Support for configurable user profiles.
Code
function _profile_form_explanation($field) { $output = filter_xss_admin($field->explanation); if ($field->type == 'list') { $output .= ' ' . t('Put each item on a separate line or separate them by commas. No HTML allowed.'); } if ($field->visibility == PROFILE_PRIVATE) { $output .= ' ' . t('The content of this field is kept private and will not be shown publicly.'); } return $output; }
© 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_form_explanation/7.x