function hook_flexiform_ajax_submit_commands_alter in Flexiform 7
Alter the AJAX commands before they are sent on the submission of a form.
Parameters
array $commands: The ajax commands that are about to be sent.
array $context: And array of helpful contextual information, including:
- flexiform: The flexiform configuration entity,
- form: The built form array.
- form_state: The form state of the submitted element.
1 invocation of hook_flexiform_ajax_submit_commands_alter()
- flexiform_submit_ajax in includes/
flexiform.flexiform.inc - Submit AJAX callback for a flexiform.
File
- ./
flexiform.api.php, line 377 - API documentation for Flexiform.
Code
function hook_flexiform_ajax_submit_commands_alter(&$commands, $context) {
// No Example.
}