You are here

function theme_rolereference_select in Role Reference 6

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

./rolereference.module, line 862
Defines a field type for referencing a role. Based almost entirely on nodereference and userreference modules.

Code

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