You are here

function theme_text_formatter_default in Content Construction Kit (CCK) 6.3

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

Theme function for 'default' text field formatter.

File

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

Code

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