function _webform_defaults_productfield in Commerce Webform 7.2
Same name and namespace in other branches
- 8 productfield.inc \_webform_defaults_productfield()
- 7 productfield.inc \_webform_defaults_productfield()
Implements _webform_defaults_component().
File
- ./
productfield.inc, line 14
Code
function _webform_defaults_productfield() {
return array(
'name' => '',
'form_key' => NULL,
'mandatory' => 0,
'pid' => 0,
'weight' => 0,
'value' => '',
'extra' => array(
'items' => '',
'product_type' => '',
'multiple' => NULL,
'choose_quantity' => NULL,
'aslist' => NULL,
'optrand' => 0,
'other_option' => NULL,
'other_text' => t('Other...'),
'title_display' => 0,
'description' => '',
'custom_keys' => FALSE,
'options_source' => '',
'private' => FALSE,
),
);
}