function PackageGenerator::builders

Same name in other branches
  1. 9 composer/Generator/PackageGenerator.php \Drupal\Composer\Generator\PackageGenerator::builders()
  2. 8.9.x composer/Generator/PackageGenerator.php \Drupal\Composer\Generator\PackageGenerator::builders()
  3. 10 composer/Generator/PackageGenerator.php \Drupal\Composer\Generator\PackageGenerator::builders()

Returns a list of metapackage builders.

Return value

BuilderInterface[]

1 call to PackageGenerator::builders()
PackageGenerator::generate in composer/Generator/PackageGenerator.php
Generate Drupal's metapackages whenever composer.lock is updated.

File

composer/Generator/PackageGenerator.php, line 68

Class

PackageGenerator
Generates metapackages.

Namespace

Drupal\Composer\Generator

Code

protected function builders() {
    return [
        DrupalCoreRecommendedBuilder::class,
        DrupalDevDependenciesBuilder::class,
        DrupalPinnedDevDependenciesBuilder::class,
    ];
}

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