You are here

public function DeployAggregatorManaged::__construct in Deploy - Content Staging 7.3

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

Constructor for a deploy aggregator.

Parameters

DeployPlan $plan: The plan that will use this aggregator.

array $config: An associative array representing the configuration settings for the aggregator.

Overrides DeployAggregatorBase::__construct

File

plugins/DeployAggregatorManaged.inc, line 28
Managed entities Deploy aggregator plugin.

Class

DeployAggregatorManaged
Managed deployment aggregator.

Code

public function __construct(DeployPlan $plan = NULL, array $config = array()) {
  $this->config += array(
    'debug' => FALSE,
    'delete_post_deploy' => FALSE,
  );
  $this->config = array_merge($this->config, $config);
  $this->plan = $plan;
}