function ComponentGenerator::__construct
Same name in other branches
- 9 composer/Generator/ComponentGenerator.php \Drupal\Composer\Generator\ComponentGenerator::__construct()
- 11.x composer/Generator/ComponentGenerator.php \Drupal\Composer\Generator\ComponentGenerator::__construct()
ComponentGenerator constructor.
File
-
composer/
Generator/ ComponentGenerator.php, line 50
Class
- ComponentGenerator
- Reconciles Drupal component dependencies with core.
Namespace
Drupal\Composer\GeneratorCode
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.