function deploy_ui_endpoint::edit_form_authenticator_submit in Deploy - Content Staging 7.2
Same name and namespace in other branches
- 7.3 modules/deploy_ui/plugins/export_ui/deploy_ui_endpoint.class.php \deploy_ui_endpoint::edit_form_authenticator_submit()
Authenticator form submit handler.
File
- modules/
deploy_ui/ plugins/ export_ui/ deploy_ui_endpoint.class.php, line 145 - CTools export UI implementation for deploy endpoints.
Class
- deploy_ui_endpoint
- Deploy endpoint UI class that extends CTools Export UI.
Code
function edit_form_authenticator_submit(&$form, &$form_state) {
$item = $form_state['item'];
if (!empty($form_state['values']['authenticator_config'])) {
$item->authenticator_config = $form_state['values']['authenticator_config'];
}
else {
$item->authenticator_config = array();
}
}