You are here

protected function PackageGenerator::builders in Drupal 10

Same name and namespace in other branches
  1. 8 composer/Generator/PackageGenerator.php \Drupal\Composer\Generator\PackageGenerator::builders()
  2. 9 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,
  ];
}