public function DrupalCoreComposer::rootComposerJson in Drupal 8
Same name and namespace 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()
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;
}