You are here

function hook_hosting_service in Hosting 7.3

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

Define a service.

Return value

Array

See also

hosting_server_services()

Related topics

8 functions implement hook_hosting_service()

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 in db_server/hosting_db_server.module
Implements hook_hosting_service().
hosting_example_hosting_service in example/example_service/hosting_example.module
Expose a service implementation to the service API.
hosting_nginx_hosting_service in web_server/nginx/hosting_nginx.module
Implements hook_hosting_service().
hosting_nginx_ssl_hosting_service in web_server/nginx/ssl/hosting_nginx_ssl.module
Implements hook_hosting_service().
hosting_ssl_hosting_service in web_server/ssl/hosting_ssl.module
Implements hook_hosting_service().

... See full list

1 invocation of hook_hosting_service()
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 52
Hooks provided by the hosting server module.

Code

function hook_hosting_service() {
  return array(
    'mysql' => 'db',
  );
}