You are here

function hook_hosting_service_type in Hosting 7.3

Same name and namespace in other branches
  1. 7.4 server/hosting_server.api.php \hook_hosting_service_type()

Define a service type.

Return value

Array

See also

hosting_server_services()

Related topics

3 functions implement hook_hosting_service_type()

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

hosting_db_server_hosting_service_type in db_server/hosting_db_server.module
Implements hook_hosting_service_type().
hosting_example_hosting_service_type in example/example_service/hosting_example.module
Expose a type of service to the Service API.
hosting_web_server_hosting_service_type in web_server/hosting_web_server.module
@todo Please document this function.
1 invocation of hook_hosting_service_type()
hosting_server_services in server/hosting_server.module
Return an associative array of services enabled on this system.

File

server/hosting_server.api.php, line 65
Hooks provided by the hosting server module.

Code

function hook_hosting_service_type() {
  return array(
    'db' => array(
      'title' => t('Database'),
    ),
  );
}