function deploy_deploy_processors in Deploy - Content Staging 7.2
Same name and namespace in other branches
- 7.3 deploy.deploy.inc \deploy_deploy_processors()
Implements hook_deploy_processors().
File
- ./
deploy.deploy.inc, line 40 - Deploy's implementation of its own API.
Code
function deploy_deploy_processors() {
$path = drupal_get_path('module', 'deploy') . '/plugins';
return array(
'DeployProcessorMemory' => array(
'name' => 'Memory processor',
'description' => 'All entities are deployed in memory. Works best with small deployments.',
'handler' => array(
'class' => 'DeployProcessorMemory',
'file' => 'DeployProcessorMemory.inc',
'path' => $path,
),
),
'DeployProcessorQueue' => array(
'name' => 'Queue API',
'description' => 'All entities are queued for deployment with the Queue API. Works best with large deployments. Can be used with a separate queue worker to achive very fast and parallel deployments.',
'handler' => array(
'class' => 'DeployProcessorQueue',
'file' => 'DeployProcessorQueue.inc',
'path' => $path,
),
),
'DeployProcessorBatch' => array(
'name' => 'Batch API',
'description' => 'All entities are processed with the Batch API. Works best when deployments are done through the UI.',
'handler' => array(
'class' => 'DeployProcessorBatch',
'file' => 'DeployProcessorBatch.inc',
'path' => $path,
),
),
);
}