You are here

public function DeployProcessorMemory::deploy in Deploy - Content Staging 7.3

Same name and namespace in other branches
  1. 7.2 plugins/DeployProcessorMemory.inc \DeployProcessorMemory::deploy()

Main processing method that should hand over the aggregator to the endpoint to deploy all the entities.

Parameters

integer $deployment_key: The unique deployment key for this deployment.

DeployEndpoint $endpoint: The endpoint object to hand over the aggregator to.

string $lock_name: Optional name of the lock that this deployment is working under.

Overrides DeployProcessor::deploy

2 methods override DeployProcessorMemory::deploy()
DeployProcessorBatch::deploy in plugins/DeployProcessorBatch.inc
Main processing method that should hand over the aggregator to the endpoint to deploy all the entities.
DeployProcessorQueue::deploy in plugins/DeployProcessorQueue.inc
Main processing method that should hand over the aggregator to the endpoint to deploy all the entities.

File

plugins/DeployProcessorMemory.inc, line 60
In memory plugin for deploy Processor.

Class

DeployProcessorMemory
Class for basic memory-based processing

Code

public function deploy($deployment_key, DeployEndpoint $endpoint, $lock_name = NULL) {
  $endpoint
    ->deploy($deployment_key, $this->aggregator, $lock_name);
}