You are here

function theme_nodereference_select in Content Construction Kit (CCK) 6.3

Same name and namespace in other branches
  1. 6 modules/nodereference/nodereference.module \theme_nodereference_select()
  2. 6.2 modules/nodereference/nodereference.module \theme_nodereference_select()

FAPI theme for an individual elements.

The textfield or select is already rendered by the textfield or select 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/nodereference/nodereference.module, line 1055
Defines a field type for referencing one node from another.

Code

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