function theme_markup_element in Markup 6
File
- ./
markup.module, line 335 - Defines a field type for displaying markup on the node/edit form.
Code
function theme_markup_element($element) {
$value = (isset($element['#markup']) ? $element['#markup'] : '') . (isset($element['#children']) ? $element['#children'] : '');
if ($element['#hide_wrapper']) {
return $value;
}
else {
return theme('form_element', $element, $value);
}
}