You are here

function theme_viewreference_select in View reference 6.3

Same name and namespace in other branches
  1. 6 viewreference.module \theme_viewreference_select()
  2. 6.2 viewreference.module \theme_viewreference_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

./viewreference.module, line 675
Defines a field type for referencing a view from a node.

Code

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