function rules_admin_add_component_create_submit in Rules 7.2
Submit callback that creates the new component object initially.
1 string reference to 'rules_admin_add_component_create_submit'
- rules_admin_add_component in rules_admin/
rules_admin.inc - Add component form.
File
- rules_admin/
rules_admin.inc, line 412 - Implements rule management and configuration screens.
Code
function rules_admin_add_component_create_submit($form, &$form_state) {
$form_state['rules_config'] = rules_plugin_factory($form_state['values']['plugin_name']);
$form_state['rebuild'] = TRUE;
}