You are here

function rules_action_type_form_submit_rebuild in Rules 7.2

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
General data related rules integration.

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();
}