You are here

function clients_drupal_clients_connection_type_info in Web Service Clients 6.2

Same name and namespace in other branches
  1. 7.3 connections/clients_drupal/clients_drupal.module \clients_drupal_clients_connection_type_info()
  2. 7 backends/clients_drupal/clients_drupal.module \clients_drupal_clients_connection_type_info()
  3. 7.2 connections/clients_drupal/clients_drupal.module \clients_drupal_clients_connection_type_info()

Implementation of hook_clients_connection_type_info().

Define the connection types we provide.

File

connections/clients_drupal/clients_drupal.module, line 29
Provides connection types for Clients module that connect to remote Drupal sites running Services module.

Code

function clients_drupal_clients_connection_type_info() {
  return array(
    // Key by machine name. Used as the base for hooks.
    'drupal_services_5' => array(
      'label' => t('Drupal Services 5'),
    ),
    'drupal_services_6_2' => array(
      'label' => t('Drupal Services 6.x-2.x'),
    ),
    'drupal_services_7_3' => array(
      'label' => t('Drupal Services 7.x-3.x'),
    ),
  );
}