You are here

function webform_options_countries in Webform 7.3

Same name and namespace in other branches
  1. 6.3 includes/webform.options.inc \webform_options_countries()
  2. 7.4 includes/webform.options.inc \webform_options_countries()

Options list containing country names.

1 string reference to 'webform_options_countries'
_webform_options_info in includes/webform.options.inc
Private implementation of hook_webform_select_options_info().

File

includes/webform.options.inc, line 63
A collection of built-in select list options for Webform.

Code

function webform_options_countries($component, $flat, $filter, $arguments) {
  include_once DRUPAL_ROOT . '/includes/locale.inc';
  return country_get_list();
}