You are here

function hook_clients_connection_type_info in Web Service Clients 7

Same name and namespace in other branches
  1. 6.2 clients.api.php \hook_clients_connection_type_info()
  2. 7.3 clients.api.php \hook_clients_connection_type_info()
  3. 7.2 clients.api.php \hook_clients_connection_type_info()

Inform Clients about connection types.

Return value

array An array of information on the connection types implemented by a module, keyed by the machine-readable name for the type. Each type is itself an array, with following keys: 'label': the human-readable label.

2 functions implement hook_clients_connection_type_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

clients_drupal_clients_connection_type_info in backends/clients_drupal/clients_drupal.module
Implementation of hook_clients_connection_type_info().
clients_flickr_clients_connection_type_info in backends/clients_flickr/clients_flickr.module
Implementation of hook_clients_connection_type_info().
1 invocation of hook_clients_connection_type_info()
clients_get_connection_types in ./clients.module
Get a list of all connection types.

File

./clients.api.php, line 22
Hooks provided by the Clients module.

Code

function hook_clients_connection_type_info() {
  return array(
    'my_client' => array(
      'label' => t('My Client Type'),
    ),
  );
}