function classified_classified_expires_content_type_edit_form_submit in Classified Ads 7.3
Same name and namespace in other branches
- 6.3 plugins/content_types/classified_expires.inc \classified_classified_expires_content_type_edit_form_submit()
Submit handler for the custom type settings form.
File
- plugins/
content_types/ classified_expires.inc, line 138 - CTools content_type plugin, displaying a Classified Ad expiration info.
Code
function classified_classified_expires_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];
}
}