You are here

function clients_get_resource_types in Web Service Clients 7.3

Get a list of all resource types.

1 string reference to 'clients_get_resource_types'
clients_entity_info in ./clients.module
Implements hook_entity_info().

File

./clients.module, line 111
Clients module provides a UI, storage, and an API for handling connections to remote webservices, including those provided by Services module on other Drupal sites.

Code

function clients_get_resource_types() {
  static $resource_types;
  if (!isset($resource_types)) {

    // Invoke hook_clients_resource_type_info().
    $resource_types = module_invoke_all('clients_resource_type_info');
  }
  return $resource_types;
}