function hook_webform_options_WEBFORM_OPTIONS_ID_alter in Webform 6.x
Same name and namespace in other branches
- 8.5 webform.api.php \hook_webform_options_WEBFORM_OPTIONS_ID_alter()
Alter webform options by id.
Parameters
array $options: An associative array of options.
array $element: The webform element that the options is for.
7 functions implement hook_webform_options_WEBFORM_OPTIONS_ID_alter()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- webform_test_options_webform_options_test_alter in tests/
modules/ webform_test_options/ webform_test_options.module - Implements hook_webform_options_WEBFORM_OPTIONS_ID_alter() for webform options test.
- webform_webform_options_country_codes_alter in includes/
webform.options.inc - Implements hook_webform_options_WEBFORM_OPTIONS_ID_alter() for country codes options.
- webform_webform_options_country_names_alter in includes/
webform.options.inc - Implements hook_webform_options_WEBFORM_OPTIONS_ID_alter() for country names options.
- webform_webform_options_languages_alter in includes/
webform.options.inc - Implements hook_webform_options_WEBFORM_OPTIONS_ID_alter() for languages options.
- webform_webform_options_range_alter in includes/
webform.options.inc - Implements hook_webform_options_WEBFORM_OPTIONS_ID_alter() for range options.
File
- ./
webform.api.php, line 330 - Hooks related to Webform module.
Code
function hook_webform_options_WEBFORM_OPTIONS_ID_alter(array &$options, array &$element) {
}