Does Multiupload Filefield Widget for Drupal provides a Form API element? I have a form in on of my Drupal page that uses Multiupload Filefield Widget to upload multiple images at once.

I want to alter the functionality of this Multiupload Filefield Widget from my custom module using hook_form_alter.

At first I thought It will be a managed_file widget. But it is not.

Is there a way to do it?
Yes it does, as defined in multiupload_filefield_widget_element_info(). The element type is mfw_managed_file, so you can use something like:

$form['multi_upload_element'] = array(
  '#type' =&gt; 'mfw_managed_file',
  '#title' =&gt; t('Some file'),
  '#upload_location' =&gt; 'public://',
);