You are here

function theme_mee_textarea in Scald: Media Management made easy 6

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

mee/mee.module, line 580
Defines a special textarea, with drag and drop media driven by Scald and dnd.module when rich text editing is enabled on the textarea via the WYSIWYG API.

Code

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