protected function DrushMakeProject_Theme::__construct

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

Override contructor for themes to properly set contrib destination.

Overrides DrushMakeProject::__construct

File

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

Class

DrushMakeProject_Theme
For processing themes.

Code

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