You are here

protected function DrupalDevDependenciesBuilder::initialPackageMetadata in Drupal 8

Same name and namespace in other branches
  1. 9 composer/Generator/Builder/DrupalDevDependenciesBuilder.php \Drupal\Composer\Generator\Builder\DrupalDevDependenciesBuilder::initialPackageMetadata()
  2. 10 composer/Generator/Builder/DrupalDevDependenciesBuilder.php \Drupal\Composer\Generator\Builder\DrupalDevDependenciesBuilder::initialPackageMetadata()

Returns the initial package metadata that describes the metapackage.

Return value

array

1 call to DrupalDevDependenciesBuilder::initialPackageMetadata()
DrupalDevDependenciesBuilder::getPackage in composer/Generator/Builder/DrupalDevDependenciesBuilder.php
Generate the Composer.json data for the current tag or branch.

File

composer/Generator/Builder/DrupalDevDependenciesBuilder.php, line 38

Class

DrupalDevDependenciesBuilder
Builder to produce metapackage for drupal/core-dev.

Namespace

Drupal\Composer\Generator\Builder

Code

protected function initialPackageMetadata() {
  return [
    "name" => "drupal/core-dev",
    "type" => "metapackage",
    "description" => "require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.",
    "license" => "GPL-2.0-or-later",
    "conflict" => [
      "webflo/drupal-core-require-dev" => "*",
    ],
  ];
}