You are here

function theme_textformatter_formatter_text_comma in Text list formatter 6

Theme a textfield as a comma-separated list.

1 string reference to 'theme_textformatter_formatter_text_comma'
textformatter_theme in ./textformatter.module
Implementation of hook_theme().

File

./textformatter.module, line 94

Code

function theme_textformatter_formatter_text_comma($element) {
  $values = textformatter_formatter_get_element_values($element);
  return implode(', ', $values);
}