function _webform_defaults_multifile in Webform Multiple File Upload 6
Same name and namespace in other branches
- 7 multifile.inc \_webform_defaults_multifile()
Implementation of _webform_defaults_component().
File
- ./
multifile.inc, line 11 - Webform module file component.
Code
function _webform_defaults_multifile() {
return array(
'name' => '',
'form_key' => NULL,
'mandatory' => 0,
'pid' => 0,
'weight' => 0,
'extra' => array(
'filtering' => array(
'types' => array(
'gif',
'jpg',
'png',
),
'addextensions' => '',
'size' => 800,
),
'max_amount' => -1,
'savelocation' => '',
'width' => '',
'title_display' => 0,
'description' => '',
'attributes' => array(),
),
);
}