function hook_conditional_fields_states_handlers_alter in Conditional Fields 7.3
Alter the list of states handlers.
State handlers are callbacks that are executed when adding the #states information to a form element.
Parameters
$handlers: An associative array of handlers, with callback as keys and an associative array of form element properties that are used to match the element with the right handler.
See also
conditional_fields_states_handlers()
1 invocation of hook_conditional_fields_states_handlers_alter()
- conditional_fields_states_handlers in ./
conditional_fields.module - Builds a list of special fields handlers to be executed when building the #states array. The keys are handler function names and the key/value pairs are field properties and their values that trigger the execution of the handler.
File
- ./
conditional_fields.api.php, line 138 - Hooks provided by Conditional Fields.
Code
function hook_conditional_fields_states_handlers_alter(&$handlers) {
// See conditional_fields_states_handlers() for examples.
}