You are here

function services_client_form_submit_connection in Services Client 7.2

Same name and namespace in other branches
  1. 7 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 321

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'];
  }
}