public function ServicesClientNodeMapping::configFormSubmit in Services Client 7
Implements configFormSubmit().
Overrides ServicesClientPlugin::configFormSubmit
File
- plugins/
ServicesClientNodeMapping.inc, line 48 - Defines the form configs for the Node mappings in Services Client.
Class
Code
public function configFormSubmit(&$form, &$form_state) {
parent::configFormSubmit($form, $form_state);
if (isset($form_state['values']['field_mapping'])) {
$form_state['config']['field_mapping'] = $form_state['values']['field_mapping'];
}
if (isset($form_state['values']['field_mapping_empty'])) {
$form_state['config']['field_mapping_empty'] = $form_state['values']['field_mapping_empty'];
}
if (isset($form_state['values']['node_type_mapping'])) {
$form_state['config']['node_type_mapping'] = $form_state['values']['node_type_mapping'];
}
}