function DrupalPackageBuilder::__construct

Same name in other branches
  1. 9 composer/Generator/Builder/DrupalPackageBuilder.php \Drupal\Composer\Generator\Builder\DrupalPackageBuilder::__construct()
  2. 8.9.x composer/Generator/Builder/DrupalPackageBuilder.php \Drupal\Composer\Generator\Builder\DrupalPackageBuilder::__construct()
  3. 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\Builder

Code

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.