function advise_toggle_draft_form_submit
Search API
7.x advise.module | advise_toggle_draft_form_submit($form, $form_state) |
6.x advise.module | advise_toggle_draft_form_submit($form, $form_state) |
4.x advise.module | advise_toggle_draft_form_submit($form, $form_state) |
5.x advise.module | advise_toggle_draft_form_submit($form, $form_state) |
File
- modules/
advise/ advise.module, line 305
Code
function advise_toggle_draft_form_submit($form, $form_state) {
fp_add_message(t("Draft mode successfully updated."));
$_SESSION ["fp_draft_mode"] = $form_state ["values"]["draft"];
}