function ctools_search_form_content_type_edit_form_submit in Chaos Tool Suite (ctools) 6
Same name and namespace in other branches
- 7 plugins/content_types/search/search_form.inc \ctools_search_form_content_type_edit_form_submit()
Submit handler for search form.
File
- plugins/
content_types/ search/ search_form.inc, line 147
Code
function ctools_search_form_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];
}
}