You are here

public function ServicesClientConnectionOAuthAuth::configFormSubmit in Services Client 7

Same name and namespace in other branches
  1. 7.2 services_client_connection/modules/services_client_oauth/plugins/ServicesClientConnectionOAuthAuth.inc \ServicesClientConnectionOAuthAuth::configFormSubmit()

Implements configFormSubmit().

Overrides ServicesClientConnectionPlugin::configFormSubmit

File

services_client_connection/modules/services_client_oauth/plugins/ServicesClientConnectionOAuthAuth.inc, line 80

Class

ServicesClientConnectionOAuthAuth
OAuth authentication support

Code

public function configFormSubmit(&$form, &$form_state) {
  parent::configFormSubmit($form, $form_state);
  $form_state['config']['consumer_key'] = $form_state['values']['consumer_key'];
  $form_state['config']['consumer_secret'] = $form_state['values']['consumer_secret'];
  $form_state['config']['access_key'] = $form_state['values']['access_key'];
  $form_state['config']['access_secret'] = $form_state['values']['access_secret'];
  $form_state['config']['force_port'] = $form_state['values']['force_port'];
}