You are here

function deploy_deploy_services in Deploy - Content Staging 7.3

Same name and namespace in other branches
  1. 7.2 deploy.deploy.inc \deploy_deploy_services()

Implements hook_deploy_services().

File

./deploy.deploy.inc, line 94
Deploy's implementation of its own API.

Code

function deploy_deploy_services() {
  $path = drupal_get_path('module', 'deploy') . '/plugins';
  return array(
    'DeployServiceRestJSON' => array(
      'name' => 'REST JSON',
      'description' => 'Deploys over a REST service that can receive JSON data. Works well when the endpoint happens to be a Drupal sites using Services module with REST server.',
      'handler' => array(
        'class' => 'DeployServiceRestJSON',
        'file' => 'DeployServiceRestJSON.inc',
        'path' => $path,
      ),
    ),
  );
}