function hook_webform_conditional_operators_alter in Webform 7.4
Alter the list of operators and conditional types.
Parameters
array $operators: A data structure as described in hook_webform_conditional_operator_info().
See also
hook_webform_conditional_operator_info()
Related topics
1 invocation of hook_webform_conditional_operators_alter()
- webform_conditional_operators in includes/
webform.conditionals.inc - Return a list of all Webform conditional operators.
File
- ./
webform.api.php, line 1504 - Sample hooks demonstrating usage in Webform.
Code
function hook_webform_conditional_operators_alter(array &$operators) {
$operators['string']['not_equal']['label'] = t('not equal');
}