function ComponentGenerator::__construct

ComponentGenerator constructor.

File

composer/Generator/ComponentGenerator.php, line 50

Class

ComponentGenerator
Reconciles Drupal component dependencies with core.

Namespace

Drupal\Composer\Generator

Code

public function __construct() {
  $this->componentBaseDir = dirname(__DIR__, 2) . '/' . static::$relativeComponentPath;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.