function theme_webform_display_mailchimp in Webform Mailchimp 7.4
Same name and namespace in other branches
- 6 webform_mailchimp.inc \theme_webform_display_mailchimp()
- 7 webform_mailchimp.inc \theme_webform_display_mailchimp()
- 7.2 webform_mailchimp.inc \theme_webform_display_mailchimp()
Format the output of data for this component.
1 theme call to theme_webform_display_mailchimp()
- _webform_display_mailchimp in ./
webform_mailchimp.inc - Implements _webform_display_component().
File
- ./
webform_mailchimp.inc, line 280 - Webform module Mailchimp component.
Code
function theme_webform_display_mailchimp($variables) {
$element = $variables['element'];
$element['#value'] = empty($element['#value']) ? ' ' : $element['#value'];
return $element['#format'] == 'html' ? check_plain($element['#value']) : $element['#value'];
}