function _services_client_connection_server in Services Client 7
Same name and namespace in other branches
- 7.2 services_client_connection/include/plugin_definition.inc \_services_client_connection_server()
List of server plugins provided by module
1 call to _services_client_connection_server()
- services_client_connection_services_client_connection_server in services_client_connection/
services_client_connection.module - Implementation of hook_services_client_connection_server().
File
- services_client_connection/
include/ plugin_definition.inc, line 46 - Plugin definition
Code
function _services_client_connection_server() {
$path = drupal_get_path('module', 'services_client_connection') . '/plugins';
$info = array();
$info['ServicesClientConnectionXmlrpcServer'] = array(
'name' => 'XMLRPC server',
'description' => 'Provides integration for XMLRPC server',
'services_version' => 3,
'handler' => array(
'parent' => 'ServicesClientConnectionServer',
'class' => 'ServicesClientConnectionXmlrpcServer',
'file' => 'ServicesClientConnectionXmlrpcServer.inc',
'path' => $path,
),
);
$info['ServicesClientConnectionRestServer'] = array(
'name' => 'REST server',
'description' => 'Provides integration for REST server',
'services_version' => 3,
'handler' => array(
'parent' => 'ServicesClientConnectionServer',
'class' => 'ServicesClientConnectionRestServer',
'file' => 'ServicesClientConnectionRestServer.inc',
'path' => $path,
),
);
return $info;
}