public function BuilderInterface::getPackage in Drupal 9
Same name and namespace in other branches
- 8 composer/Generator/BuilderInterface.php \Drupal\Composer\Generator\BuilderInterface::getPackage()
Generate the Composer.json data for the current tag or branch.
Return value
array Composer json data.
3 methods override BuilderInterface::getPackage()
- DrupalCoreRecommendedBuilder::getPackage in composer/
Generator/ Builder/ DrupalCoreRecommendedBuilder.php - Generate the Composer.json data for the current tag or branch.
- DrupalDevDependenciesBuilder::getPackage in composer/
Generator/ Builder/ DrupalDevDependenciesBuilder.php - Generate the Composer.json data for the current tag or branch.
- DrupalPinnedDevDependenciesBuilder::getPackage in composer/
Generator/ Builder/ DrupalPinnedDevDependenciesBuilder.php - Generate the Composer.json data for the current tag or branch.
File
- composer/
Generator/ BuilderInterface.php, line 42
Class
- BuilderInterface
- Produce the output for a metapackage.
Namespace
Drupal\Composer\GeneratorCode
public function getPackage();