function _webform_defaults_country_list in Webform Country List 7
Implements _webform_defaults_[component]().
Return value
array An webform component array initialized with default values.
File
- ./
webform_country_list.component.inc, line 14 - Implementation of the webform component using the webform API.
Code
function _webform_defaults_country_list() {
$element = array(
'name' => 'Country',
'form_key' => NULL,
'mandatory' => 0,
'required' => 0,
'value' => '',
'extra' => array(
'available_countries' => array(),
'private' => FALSE,
),
);
return $element;
}