You are here

function services_client_wizard_form_entity_submit in Services Client 7.2

Form step 2; Submit handler;

File

./services_client.admin.inc, line 246
Administration pages for configuring services client module.

Code

function services_client_wizard_form_entity_submit($form, &$form_state) {
  $object =& $_SESSION['services_client_wizard'];
  $object->local_entity = $form_state['values']['local_entity'];
  $object->local_bundle = !empty($form_state['values']['local_bundle']) ? $form_state['values']['local_bundle'] : NULL;
  $object->remote_entity = $form_state['values']['remote_entity'];
  $object->remote_bundle = !empty($form_state['values']['remote_bundle']) ? $form_state['values']['remote_bundle'] : NULL;
}