You are here

function webfm_attach_attached_form in Web File Manager 5.2

Same name and namespace in other branches
  1. 5 webfm.module \webfm_attach_attached_form()
1 call to webfm_attach_attached_form()
webfm_form_alter in ./webfm.module
Implementation of hook_form_alter().

File

./webfm.module, line 514

Code

function webfm_attach_attached_form($node) {
  $form['#theme'] = 'webfm_attach_attached_form';

  // This form input (id = edit-attachlist) will hold the comma-separated ordered list of attached fids
  $form['new']['attachlist'] = array(
    '#type' => 'hidden',
    '#value' => '',
  );
  return $form;
}