function rules_core_action_execute_submit in Rules 6
Action form submit implementation: Apply the core actions form submit
Related topics
File
- rules/
modules/ rules.rules.inc, line 404 - rules integration for the rules module
Code
function rules_core_action_execute_submit(&$settings, &$form, &$form_state) {
$element = $form_state['element'];
$info = rules_get_element_info($element);
if ($info['configurable']) {
$function = $info['action_name'] . '_submit';
$settings = $function($form['settings'], $form_state) + $settings;
}
}