function advanced_forum_forum_topic_legend_content_type_edit_form_submit in Advanced Forum 7.2
Same name and namespace in other branches
- 6.2 plugins/content_types/forum_topic_legend.inc \advanced_forum_forum_topic_legend_content_type_edit_form_submit()
Submit callback.
File
- plugins/
content_types/ forum_topic_legend.inc, line 65 - Forum topic legend.
Code
function advanced_forum_forum_topic_legend_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];
}
}