public function DeployAggregatorViews::__construct in Deploy - Content Staging 7.2
Same name and namespace in other branches
- 7.3 modules/deploy_aggregator_views/plugins/DeployAggregatorViews.inc \DeployAggregatorViews::__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
- modules/
deploy_aggregator_views/ plugins/ DeployAggregatorViews.inc, line 24 - Views based aggregator for deployment plan entities.
Class
- DeployAggregatorViews
- Class for a deploy aggregator that aggregates entities using a View.
Code
public function __construct(DeployPlan $plan = NULL, array $config = array()) {
$defaults = array(
'debug' => FALSE,
'view_name' => '',
);
$this->config = array_merge($defaults, $config);
$this->plan = $plan;
}