You are here

function _webform_defaults_product in Ubercart Webform Integration 7.2

Same name and namespace in other branches
  1. 6 components/product.inc \_webform_defaults_product()
  2. 7.3 components/product.inc \_webform_defaults_product()

Implements _webform_defaults_component().

File

components/product.inc, line 11
Webform module product component.

Code

function _webform_defaults_product() {
  return array(
    'name' => '',
    'form_key' => NULL,
    'pid' => 0,
    'weight' => 0,
    'value' => '',
    'mandatory' => 0,
    'product' => NULL,
    'extra' => array(
      'width' => '',
      'unique' => 0,
      'disabled' => 0,
      'title_display' => 0,
      'description' => '',
      'attributes' => array(),
      'private' => FALSE,
      'product' => NULL,
    ),
  );
}