You are here

function theme_text_textfield in Content Construction Kit (CCK) 6

Same name in this branch
  1. 6 examples/example_field.php \theme_text_textfield()
  2. 6 modules/text/text.module \theme_text_textfield()
Same name and namespace in other branches
  1. 6.3 modules/text/text.module \theme_text_textfield()
  2. 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

modules/text/text.module, line 445
Defines simple text field types.

Code

function theme_text_textfield($element) {
  return $element['#children'];
}