theme_upload_form_new
modules/upload/upload.module, line 542
- Versions
- 4.7 – 7
theme_upload_form_new($form)
Theme the attachment form. Note: required to output prefix/suffix.
Related topics
Code
<?php
function theme_upload_form_new($form) {
drupal_add_tabledrag('upload-attachments', 'order', 'sibling', 'upload-weight');
$output = drupal_render($form);
return $output;
}
?> 