You are here

public function NodeSaveHandler::configFormSubmit in Services Client 7.2

Save configuration.

Overrides EventHandler::configFormSubmit

File

include/event.inc, line 1200

Class

NodeSaveHandler
Adds extra logic for saving remote nodes.

Code

public function configFormSubmit(&$form, &$form_state) {
  parent::configFormSubmit($form, $form_state);
  $this->config['node_type'] = $form_state['values']['node_type'];
  $this->config['node_author'] = $form_state['values']['node_author'];
  $this->config['node_author_value'] = $form_state['values']['node_author_value'];
  $this->config['node_author_load_remote'] = $form_state['values']['node_author_load_remote'];
}