function hook_webform_select_options_info_alter in Webform 7.3
Same name and namespace in other branches
- 6.3 webform.api.php \hook_webform_select_options_info_alter()
- 7.4 webform.api.php \hook_webform_select_options_info_alter()
Alter the list of select list options provided by Webform and other modules.
See also
hook_webform_select_options_info()
Related topics
1 invocation of hook_webform_select_options_info_alter()
- _webform_select_options_info in components/
select.inc - Load Webform select option info from 3rd party modules.
File
- ./
webform.api.php, line 54 - Sample hooks demonstrating usage in Webform.
Code
function hook_webform_select_options_info_alter(&$items) {
// Remove the days of the week options.
unset($items['days']);
}