| 7 field.module | field_filter_xss($string) |
| 8 field.module | field_filter_xss($string) |
Like filter_xss_admin(), but with a shorter list of allowed tags.
Used for items entered by administrators, like field descriptions, allowed values, where some (mainly inline) mark-up may be desired (so check_plain() is not acceptable).
Related topics
5 calls to field_filter_xss()
1 string reference to 'field_filter_xss'
File
- modules/
field/ field.module, line 774 - Attach custom data fields to Drupal entities.
Code
function field_filter_xss($string) {
return filter_xss($string, _field_filter_xss_allowed_tags());
}
Login or register to post comments