function _webform_select_options_info in Webform 6.3
Same name and namespace in other branches
- 7.4 components/select.inc \_webform_select_options_info()
- 7.3 components/select.inc \_webform_select_options_info()
Load Webform select option info from 3rd party modules.
3 calls to _webform_select_options_info()
- webform_select_options_ajax in components/
select.inc - Menu callback; Return a predefined list of select options as JSON.
- _webform_edit_select in components/
select.inc - Implements _webform_edit_component().
- _webform_select_options_callback in components/
select.inc - Execute a select option callback.
File
- components/
select.inc, line 844 - Webform module multiple select component.
Code
function _webform_select_options_info() {
static $info;
if (!isset($info)) {
$info = array();
foreach (module_implements('webform_select_options_info') as $module) {
$additions = module_invoke($module, 'webform_select_options_info');
foreach ($additions as $key => $addition) {
$additions[$key]['module'] = $module;
}
$info = array_merge($info, $additions);
}
drupal_alter('webform_select_options_info', $info);
}
return $info;
}