function _profile_form_explanation
Same name and namespace in other branches
- 7.x drupal-7.x/modules/profile/profile.module \_profile_form_explanation()
1 call to _profile_form_explanation()
- profile_form_profile in drupal-6.x/modules/profile/profile.module
Archivo
- drupal-6.x/modules/profile/profile.module, line 332
- Support for configurable user profiles.
Código
function _profile_form_explanation($field) {
$output = $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;
}