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;
}
?>
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.