function services_client_form_submit_connection in Services Client 7
Same name and namespace in other branches
- 7.2 services_client.module \services_client_form_submit_connection()
Add customer services_client_id to connection
1 string reference to 'services_client_form_submit_connection'
- services_client_form_alter in ./
services_client.module - Implements hook_form_alter().
File
- ./
services_client.module, line 1230 - Services client module allows to push different types of objects on different types of events such as node_save, user_save to remote masters.
Code
function services_client_form_submit_connection($form, &$form_state) {
if (isset($form_state['values']['services_client_id']) && !empty($form_state['values']['services_client_id'])) {
$form_state['item']->services_client_id = $form_state['values']['services_client_id'];
}
}