function theme_webform_time in Webform 6.2
Same name and namespace in other branches
- 5.2 components/time.inc \theme_webform_time()
- 5 components/time.inc \theme_webform_time()
- 6.3 components/time.inc \theme_webform_time()
- 7.4 components/time.inc \theme_webform_time()
- 7.3 components/time.inc \theme_webform_time()
Theme a webform time element.
1 theme call to theme_webform_time()
- _webform_render_time in components/
time.inc - Build a form item array containing all the properties of this component
File
- components/
time.inc, line 399 - Webform module time component.
Code
function theme_webform_time($element) {
$element['#type'] = 'element';
$element['#children'] = '<div class="container-inline">' . drupal_render($element['hour']) . drupal_render($element['minute']) . drupal_render($element['ampm']) . '</div>';
return theme('form_element', $element, $element['#children']);
}