function DrupalPackageBuilder::__construct
Same name in other branches
- 8.9.x composer/Generator/Builder/DrupalPackageBuilder.php \Drupal\Composer\Generator\Builder\DrupalPackageBuilder::__construct()
- 10 composer/Generator/Builder/DrupalPackageBuilder.php \Drupal\Composer\Generator\Builder\DrupalPackageBuilder::__construct()
- 11.x composer/Generator/Builder/DrupalPackageBuilder.php \Drupal\Composer\Generator\Builder\DrupalPackageBuilder::__construct()
DrupalPackageBuilder constructor.
Parameters
\Drupal\Composer\Generator\Util\DrupalCoreComposer $drupalCoreInfo: Information about composer.json and composer.lock from current release.
Overrides BuilderInterface::__construct
File
-
composer/
Generator/ Builder/ DrupalPackageBuilder.php, line 26
Class
- DrupalPackageBuilder
- Base class that includes helpful utility routine for Drupal builder classes.
Namespace
Drupal\Composer\Generator\BuilderCode
public function __construct(DrupalCoreComposer $drupalCoreInfo) {
$this->drupalCoreInfo = $drupalCoreInfo;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.