function mee_form_ctools_custom_content_type_edit_form_alter in Scald: Media Management made easy 7
Implements hook_form_FORM_ID_alter().
Add dnd for ALL panels 'custom content' ctools forms.
File
- modules/
fields/ mee/ mee.module, line 440 - Defines a special textarea, with drag and drop media driven by Scald and dnd.module.
Code
function mee_form_ctools_custom_content_type_edit_form_alter(&$form, &$form_state) {
$form['body']['#attached']['library'] = array(
array(
'dnd',
'library',
),
);
}