You are here

function clients_drupal_clients_connection_save in Web Service Clients 6

Implementation of hook_clients_connection_save()

File

backends/clients_drupal/clients_drupal.module, line 58
Drupal Services plugin for Clients module @author Django Beatty - adub

Code

function clients_drupal_clients_connection_save($values) {
  if ($values['type'] == variable_get('clients_drupal_type', 'Drupal Services')) {
    $values['configuration']['password'] = clients_drupal_encrypt($values['configuration']['password']);
  }
  return $values;
}