You are here

function theme_webform_display_hidden in Webform 7.4

Same name and namespace in other branches
  1. 6.3 components/hidden.inc \theme_webform_display_hidden()
  2. 7.3 components/hidden.inc \theme_webform_display_hidden()

Theme callback.

1 theme call to theme_webform_display_hidden()
_webform_display_hidden in components/hidden.inc
Implements _webform_display_component().

File

components/hidden.inc, line 123
Webform module hidden component.

Code

function theme_webform_display_hidden($variables) {
  $element = $variables['element'];
  return $element['#format'] == 'html' ? check_plain($element['#markup']) : $element['#markup'];
}