function hook_clients_connection_type_info in Web Service Clients 7.2
Same name and namespace in other branches
- 6.2 clients.api.php \hook_clients_connection_type_info()
- 7.3 clients.api.php \hook_clients_connection_type_info()
- 7 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.
1 function implements 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 connections/
clients_drupal/ clients_drupal.module - Implementation of hook_clients_connection_type_info().
2 invocations of hook_clients_connection_type_info()
- clients_connection_uninstall_connection_delete in ./
clients.install - Helper function for connection type modules to delete all their connections.
- 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'),
),
);
}