function rules_admin_add_component_create_submit
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
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;
}