function _webform_defaults_addressfield in Addressfield Tokens 7
Specify the default properties of a component.
Return value
array An array defining the default structure of a component.
File
- ./
addressfield_tokens.components.inc, line 13  - Webform Component information for an address field type.
 
Code
function _webform_defaults_addressfield() {
  return array(
    'name' => '',
    'form_key' => NULL,
    'required' => 0,
    'pid' => 0,
    'weight' => 0,
    'extra' => array(
      'title_display' => 0,
      'private' => FALSE,
      'attributes' => array(),
      'description' => '',
      'available_countries' => array(),
      'default_country' => '',
      'format_handlers' => array(),
      'csv_separate' => 0,
    ),
  );
}