function _webform_defaults_select in Webform 5.2
Same name and namespace in other branches
- 6.3 components/select.inc \_webform_defaults_select()
- 6.2 components/select.inc \_webform_defaults_select()
- 7.4 components/select.inc \_webform_defaults_select()
- 7.3 components/select.inc \_webform_defaults_select()
Create a default select component.
File
- components/
select.inc, line 11 - Webform module multiple select component.
Code
function _webform_defaults_select() {
return array(
'name' => '',
'form_key' => NULL,
'email' => 1,
'mandatory' => 0,
'pid' => 0,
'weight' => 0,
'value' => '',
'extra' => array(
'items' => '',
'email' => 0,
'multiple' => NULL,
'aslist' => NULL,
'description' => '',
),
);
}