protected function DrushMakeProject_Profile::__construct

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

Override contructor for installation profiles to properly set contrib destination.

Overrides DrushMakeProject::__construct

File

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

Class

DrushMakeProject_Profile
For processing installation profiles.

Code

protected function __construct(&$project) {
  parent::__construct($project);
  $this->contrib_destination = (!empty($this->destination) ? $this->destination : 'profiles');
}