You are here

public function DeployProcessorMemory::__construct in Deploy - Content Staging 7.2

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

Constructor for a deploy processor.

Parameters

DeployAggregator $aggregator: The aggregator object that will be processed.

array $config: An associative array of configuration settings for the processor.

Overrides DeployProcessor::__construct

File

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

Class

DeployProcessorMemory
Class for basic memory-based processing

Code

public function __construct(DeployAggregator $aggregator, array $config = array()) {
  $this->aggregator = $aggregator;
  $this->config += array(
    'debug' => FALSE,
  );
  $this->config = array_merge($this->config, $config);
}