function rules_action_type_form_submit_rebuild
FAPI submit callback for reloading the type form for entities or data types.
Related topics
2 string references to 'rules_action_type_form_submit_rebuild'
- rules_action_type_form_alter in modules/
data.rules.inc - Form alter callback for actions relying on the entity type or the data type.
- rules_scheduler_action_schedule_form_alter in rules_scheduler/
rules_scheduler.rules.inc - Form alter callback for the schedule action.
File
-
modules/
data.rules.inc, line 418
Code
function rules_action_type_form_submit_rebuild($form, &$form_state) {
rules_form_submit_rebuild($form, $form_state);
// Clear the parameter modes for the parameters, so they get the proper
// default values based upon the data types on rebuild.
$form_state['parameter_mode'] = array();
}