function rules_forms_event_build in Rules Forms Support 7.2
Same name and namespace in other branches
- 7 rules_forms.module \rules_forms_event_build()
Form build handler. Stores form values and invokes the event.
3 calls to rules_forms_event_build()
- RulesFormsAPITestCase::testEventBuild in ./
rules_forms.test - Tests rules_forms_event_build().
- RulesFormsConditionsTestCase::testElementValueChangedCondition in ./
rules_forms.test - Tests callback for Condition: Element value has changed.
- rules_forms_form_alter in ./
rules_forms.module - Implements hook_form_alter().
File
- ./
rules_forms.module, line 170 - Rules Forms Support provides events, conditions, and actions for site forms.
Code
function rules_forms_event_build(&$form, &$form_state, $form_id) {
// @TODO Save form values on build for comparison against
// the form_state entity on validate and submit events.
rules_forms_invoke_event('form_built', $form, $form_state, $form_id);
}