You are here

function dnd_elements in Scald: Media Management made easy 6

Implementation of hook_elements().

Overload textareas.

File

dnd/dnd.module, line 43

Code

function dnd_elements() {
  $type = array();
  $type['textarea'] = array(
    '#dnd-enabled' => FALSE,
    '#dnd-settings' => NULL,
    '#process' => array(
      'form_expand_ahah',
      'dnd_process_textarea',
    ),
  );
  return $type;
}