You are here

function clients_drupal_clients_call in Web Service Clients 6

Same name and namespace in other branches
  1. 7 backends/clients_drupal/clients_drupal.module \clients_drupal_clients_call()

Implementation of hook_clients_call

File

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

Code

function clients_drupal_clients_call($connection, $serviceOptions) {
  if ($connection->type == variable_get('clients_drupal_type', 'Drupal Services')) {
    $serviceConfig = clients_connection_load((int) $connection->cid);
    return ClientsServicesDrupal::call($serviceConfig, $serviceOptions);
  }
}