You are here

function hook_webform_options_alter in Webform 8.5

Same name and namespace in other branches
  1. 6.x webform.api.php \hook_webform_options_alter()

Alter webform options.

Parameters

array $options: An associative array of options.

array $element: The webform element that the options is for.

string $options_id: The webform options id. Set to NULL if the options are custom.

1 function implements hook_webform_options_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_alter in tests/modules/webform_test_options/webform_test_options.module
Implements hook_webform_options_alter().
1 invocation of hook_webform_options_alter()
WebformOptions::getElementOptions in src/Entity/WebformOptions.php
Get webform element options.

File

./webform.api.php, line 318
Hooks related to Webform module.

Code

function hook_webform_options_alter(array &$options, array &$element, $options_id = NULL) {
}