function _webform_options_info in Webform 7.4
Same name and namespace in other branches
- 6.3 includes/webform.options.inc \_webform_options_info()
- 7.3 includes/webform.options.inc \_webform_options_info()
Implements hook_webform_select_options_info().
See also
webform_webform_select_options_info()
1 call to _webform_options_info()
- webform_webform_select_options_info in ./webform.module 
- Implements hook_webform_select_options_info().
File
- includes/webform.options.inc, line 13 
- A collection of built-in select list options for Webform.
Code
function _webform_options_info() {
  $items = array();
  $items['days'] = array(
    'title' => t('Days of the week'),
    'options callback' => 'webform_options_days',
    'file' => 'includes/webform.options.inc',
  );
  $items['countries'] = array(
    'title' => t('Countries'),
    'options callback' => 'webform_options_countries',
    'file' => 'includes/webform.options.inc',
  );
  $items['united_states'] = array(
    'title' => t('US states'),
    'options callback' => 'webform_options_united_states',
    'file' => 'includes/webform.options.inc',
  );
  return $items;
}