function cmis_repository_switcher_form_submit in CMIS API 6.4
Same name and namespace in other branches
- 6.3 cmis.module \cmis_repository_switcher_form_submit()
- 7.2 cmis.module \cmis_repository_switcher_form_submit()
- 7 cmis.module \cmis_repository_switcher_form_submit()
CMIS repository switcher form submit.
File
- ./
cmis.module, line 274
Code
function cmis_repository_switcher_form_submit($form, &$form_state) {
// saving current CMIS repository
$_SESSION['cmis_repository'] = $form_state['values']['cmis_repository'];
// redirect to the source page
$form_state['redirect'] = $_GET['q'];
}