class DrupalCoreRecommendedBuilder extends DrupalPackageBuilder (View source)

Builder to produce metapackage for drupal/core-recommended.

Properties

protected DrupalCoreComposer $drupalCoreInfo

Information about composer.json, composer.lock etc. in current release.

from  DrupalPackageBuilder

Methods

__construct(DrupalCoreComposer $drupalCoreInfo)

DrupalPackageBuilder constructor.

string
getPath()

Return the path to where the metapackage should be written.

array
getPackage()

Generate the Composer.json data for the current tag or branch.

array
initialPackageMetadata()

Returns the initial package metadata that describes the metapackage.

Details

__construct(DrupalCoreComposer $drupalCoreInfo)

DrupalPackageBuilder constructor.

Parameters

DrupalCoreComposer $drupalCoreInfo

Information about the composer.json, composer.lock, and repository path.

string getPath()

Return the path to where the metapackage should be written.

Return Value

string

Path to the metapackage.

array getPackage()

Generate the Composer.json data for the current tag or branch.

Return Value

array

Composer json data.

protected array initialPackageMetadata()

Returns the initial package metadata that describes the metapackage.

Return Value

array