protected function DrushMakeProject_Module::__construct

8.0.x make.project.inc protected DrushMakeProject_Module::__construct(&$project)
6.x make.project.inc protected DrushMakeProject_Module::__construct(&$project)
7.x make.project.inc protected DrushMakeProject_Module::__construct(&$project)
5.x make.project.inc protected DrushMakeProject_Module::__construct(&$project)
master make.project.inc protected DrushMakeProject_Module::__construct(&$project)

Override constructor for modules to properly set contrib destination.

Overrides DrushMakeProject::__construct

File

commands/make/make.project.inc, line 558
Drush Make processing classes.

Class

DrushMakeProject_Module
For processing modules.

Code

protected function __construct(&$project) {
  parent::__construct($project);
  $this->contrib_destination = ($this->base_contrib_destination != '.' ? $this->base_contrib_destination . '/' : '') . 'modules';
}