You are here

function theme_field_kaltura_textfield in Kaltura 5

Same name and namespace in other branches
  1. 6.2 plugins/field_kaltura/field_kaltura.module \theme_field_kaltura_textfield()
  2. 6 plugins/field_kaltura/field_kaltura.module \theme_field_kaltura_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

plugins/field_kaltura/field_kaltura.module, line 572
kaltura integration module - functions to provide kaltura as CCK field

Code

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