1 date.theme.inc | theme_date_textfield_element($variables) |
Returns HTML for a date textfield input form element.
Related topics
File
- core/
modules/ date/ date.theme.inc, line 68 - Theme and preprocess functions for output by Date module.
Code
function theme_date_textfield_element($variables) {
$element = $variables['element'];
$parents = $element['#parents'];
$part = array_pop($parents);
return '<div class="date-' . $part . '">' . theme('textfield', $element) . '</div>';
}