function fieldgroup_content_fieldgroup_content_type_edit_form_submit in Content Construction Kit (CCK) 6.2
Same name and namespace in other branches
- 6.3 modules/fieldgroup/panels/content_types/content_fieldgroup.inc \fieldgroup_content_fieldgroup_content_type_edit_form_submit()
File
- modules/
fieldgroup/ panels/ content_types/ content_fieldgroup.inc, line 140 - This file provides a CTools content type for fieldgroups.
Code
function fieldgroup_content_fieldgroup_content_type_edit_form_submit(&$form, &$form_state) {
// Copy everything from our defaults.
foreach (array_keys($form_state['plugin']['defaults']) as $key) {
$form_state['conf'][$key] = $form_state['values'][$key];
}
}