function theme_text_textfield in Content Construction Kit (CCK) 6
Same name in this branch
- 6 examples/example_field.php \theme_text_textfield()
- 6 modules/text/text.module \theme_text_textfield()
Same name and namespace in other branches
- 6.3 modules/text/text.module \theme_text_textfield()
- 6.2 modules/text/text.module \theme_text_textfield()
FAPI theme for an individual text elements.
The textfield or textarea is already rendered by the textfield or textarea themes and the html output lives in $element['#children']. Override this theme to make custom changes to the output.
$element['#field_name'] contains the field name $element['#delta] is the position of this element in the group
File
- examples/
example_field.php, line 679 - These hooks are defined by field modules, modules that define a new kind of field for insertion in a content type.
Code
function theme_text_textfield($element) {
return $element['#children'];
}