function DrupalCoreComposer::rootComposerJson
Same name in other branches
- 9 composer/Generator/Util/DrupalCoreComposer.php \Drupal\Composer\Generator\Util\DrupalCoreComposer::rootComposerJson()
- 10 composer/Generator/Util/DrupalCoreComposer.php \Drupal\Composer\Generator\Util\DrupalCoreComposer::rootComposerJson()
- 11.x composer/Generator/Util/DrupalCoreComposer.php \Drupal\Composer\Generator\Util\DrupalCoreComposer::rootComposerJson()
Fetch the composer data from the root drupal/drupal project.
Return value
array Composer json data
1 call to DrupalCoreComposer::rootComposerJson()
- DrupalCoreComposer::getRequireDev in composer/
Generator/ Util/ DrupalCoreComposer.php - Return the "require-dev" section from root or core composer.json file.
File
-
composer/
Generator/ Util/ DrupalCoreComposer.php, line 61
Class
- DrupalCoreComposer
- Utilities for accessing composer.json data from drupal/drupal and drupal/core.
Namespace
Drupal\Composer\Generator\UtilCode
public function rootComposerJson() {
return $this->composerJson;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.