You are here

protected function DeployProcessorBatch::processOperations in Deploy - Content Staging 7.2

Same name and namespace in other branches
  1. 7.3 plugins/DeployProcessorBatch.inc \DeployProcessorBatch::processOperations()

Overrides DeployProcessorMemory::processOperations

1 call to DeployProcessorBatch::processOperations()
DeployProcessorBatch::postProcess in plugins/DeployProcessorBatch.inc
Runs all postprocess operations.

File

plugins/DeployProcessorBatch.inc, line 22
Batch API plugin for deploy Processor.

Class

DeployProcessorBatch
Processor class using the Batch API

Code

protected function processOperations(array $operations = array()) {
  if (!empty($operations)) {
    foreach ($this->aggregator as $entity) {
      foreach ($operations as $operation) {
        $this->operations[] = array(
          $operation['callback'],
          array(
            $this->aggregator->plan->name,
            $entity,
          ),
        );
      }
    }
  }
}