You are here

function theme_petreference_select in Previewable email templates 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

modules/petreference/petreference.module, line 965
Defines a field type for referencing pet template to a node.

Code

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