You are here

function theme_text_formatter_plain in Content Construction Kit (CCK) 6.2

Same name and namespace in other branches
  1. 6.3 modules/text/text.module \theme_text_formatter_plain()
  2. 6 modules/text/text.module \theme_text_formatter_plain()

Theme function for 'plain' text field formatter.

File

modules/text/text.module, line 227
Defines simple text field types.

Code

function theme_text_formatter_plain($element) {
  return ($allowed = _text_allowed_values($element)) ? $allowed : strip_tags($element['#item']['safe']);
}