function example_provision_services in Hosting 7.3
Same name and namespace in other branches
- 7.4 example/example_service/drush/example.drush.inc \example_provision_services()
Implements hook_provision_services().
Expose the service type this extension defines to provision.
Implementations are then conditionally loaded when the option "--$service_service_type=$type" is passed to the provision-save command of a server.
Implementations are automatically loaded from : provision/$service/$type/$type_service.inc.
Return value
An array with the service type the key, and the default implementation the value.
File
- example/
example_service/ drush/ example.drush.inc, line 48 - An example of the provision service API.
Code
function example_provision_services() {
example_provision_register_autoload();
return array(
'example' => NULL,
);
}