I am trying to use this module to upload multiple files into a schemma that I created (in a separated module),
https://www.drupal.org/project/dragndrop_upload
$form['file'] = array (
'#type' => 'dragndrop_upload',
'#title' => 'Test',
'#description' => 'Test',
// This settings allows to drop multiple files at once.
'#attributes' => array (
'multiupload' => '1',
'cardinality' => '10')
);
Seems to work great but it seems to ignore the 'multiupload' and the 'cardinality' arguments,
Any idea what am I missing?