function clients_drupal_rest_clients_connection_type_info in Web Service Clients 7.3
Implements hook_clients_connection_type_info().
File
- connections/
clients_drupal_rest/ clients_drupal_rest.module, line 11 - clients_drupal_rest.module Provides connection types for Clients module that connect to remote Drupal sites running Services module with the REST server.
Code
function clients_drupal_rest_clients_connection_type_info() {
return array(
'drupal_services_rest_7' => array(
'label' => t('Drupal REST Services 7'),
'description' => t('Connects to Drupal sites using Services 7.x-3.x with REST endpoints.'),
'tests' => array(
'login' => 'ClientsConnectionDrupalRESTTestLogin',
'node_retrieve' => 'ClientsConnectionDrupalRESTTestNodeRetrieve',
'entity_create' => 'ClientsConnectionDrupalRESTTestEntityCreate',
'generic' => 'ClientsConnectionDrupalRESTTestGeneric',
),
),
);
}