function DrupalCoreRecommendedBuilder::initialPackageMetadata
Same name in other branches
- 9 composer/Generator/Builder/DrupalCoreRecommendedBuilder.php \Drupal\Composer\Generator\Builder\DrupalCoreRecommendedBuilder::initialPackageMetadata()
- 8.9.x composer/Generator/Builder/DrupalCoreRecommendedBuilder.php \Drupal\Composer\Generator\Builder\DrupalCoreRecommendedBuilder::initialPackageMetadata()
- 11.x composer/Generator/Builder/DrupalCoreRecommendedBuilder.php \Drupal\Composer\Generator\Builder\DrupalCoreRecommendedBuilder::initialPackageMetadata()
Returns the initial package metadata that describes the metapackage.
Return value
array
1 call to DrupalCoreRecommendedBuilder::initialPackageMetadata()
- DrupalCoreRecommendedBuilder::getPackage in composer/
Generator/ Builder/ DrupalCoreRecommendedBuilder.php - Generate the Composer.json data for the current tag or branch.
File
-
composer/
Generator/ Builder/ DrupalCoreRecommendedBuilder.php, line 63
Class
- DrupalCoreRecommendedBuilder
- Builder to produce metapackage for drupal/core-recommended.
Namespace
Drupal\Composer\Generator\BuilderCode
protected function initialPackageMetadata() {
return [
"name" => "drupal/core-recommended",
"type" => "metapackage",
"description" => "Core and its dependencies with known-compatible minor versions. Require this project INSTEAD OF drupal/core.",
"license" => "GPL-2.0-or-later",
"conflict" => [
"webflo/drupal-core-strict" => "*",
],
"require" => [
"drupal/core" => Composer::drupalVersionBranch(),
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.